appendXYOffsets MethodStatic
Construct a separate xy-offset for each input curve.
- For best offset results, the inputs should be parallel to the xy-plane.
appendXYOffsets(curves: AnyCurve | AnyCurve[], offset: number, result: AnyCurve[]): number
@returns summed length of offset curves
Parameter | Type | Description |
---|---|---|
curves | AnyCurve | AnyCurve[] | input curve(s), z-coordinates ignored. Only curves of type AnyChain are handled. |
offset | number | offset distance (positive to left of curve, negative to right) |
result | AnyCurve[] | array to collect offset curves |
Returns - number
summed length of offset curves
Defined in
- curve/CurveOps.ts Line 59
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.