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
- curve/CurveCollection.ts Line 235
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.