createCurveLocationDetailOnAnyCurvePrimitive MethodStatic

Find any CurvePrimitive in the source and evaluate it at the given fraction.

  • The first CurvePrimitive found is evaluated. Any other CurvePrimitives are ignored.

createCurveLocationDetailOnAnyCurvePrimitive(source: GeometryQuery, fraction: number0.5): undefined | CurveLocationDetail

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

Returns - undefined | CurveLocationDetail

Defined in

Last Updated: 14 November, 2024