createCurveLocationDetailOnAnyCurvePrimitive MethodStatic

  • Find any curve primitive in the source.
  • Evaluate it at a fraction (which by default is an interior fraction)

createCurveLocationDetailOnAnyCurvePrimitive(source: GeometryQuery | undefined, fraction: number = 0.5): CurveLocationDetail | undefined

Parameter Type Description
source GeometryQuery | undefined containing CurvePrimitive or CurveCollection
fraction number fraction to use in curve.fractionToPoint(fraction)

Returns - CurveLocationDetail | undefined

Defined in

Last Updated: 13 June, 2024