clonePartialCurve Method
Return a portion of this curve with its own distance index.
- Passing a chain detail containing a
childDetail
is more accurate for extending the instance beyond [0,1]. Such details are returned by e.g., intersectionXYPairs.
clonePartialCurve(fractionA: number | CurveLocationDetail, fractionB: number | CurveLocationDetail, options?: StrokeOptions): undefined | CurveChainWithDistanceIndex
Parameter | Type | Description |
---|---|---|
fractionA | number | CurveLocationDetail | start fraction or chain detail |
fractionB | number | CurveLocationDetail | end fraction or chain detail |
options | StrokeOptions | how finely to stroke the path to create the distance index |
Returns - undefined | CurveChainWithDistanceIndex
Defined in
- curve/CurveChainWithDistanceIndex.ts Line 307
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.