curveLengthBetweenFractions Method
Returns a (high accuracy) length of the curve between fractional positions.
- Curve length is always positive.
- Default implementation applies a generic Gaussian integration.
- Most curve classes (certainly LineSegment, LineString, Arc) are expected to provide efficient implementations.
curveLengthBetweenFractions(fraction0: number, fraction1: number): number
Parameter | Type | Description |
---|---|---|
fraction0 | number | |
fraction1 | number |
Returns - number
Defined in
- curve/CurvePrimitive.ts Line 242
Last Updated: 23 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.