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

Last Updated: 17 December, 2024