createCurveLocationDetailOnAnyCurvePrimitive MethodStatic

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

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

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

Returns - undefined | CurveLocationDetail

Defined in

Last Updated: 30 November, 2023