createSingleOffsetPrimitiveXY MethodStatic

Create the offset of a single curve primitive as viewed in the xy-plane (ignoring z).

createSingleOffsetPrimitiveXY(curve: CurvePrimitive, offsetDistanceOrOptions: number | OffsetOptions): undefined | CurvePrimitive | CurvePrimitive[]

Parameter Type Description
curve CurvePrimitive primitive to offset
offsetDistanceOrOptions number | OffsetOptions offset distance (positive to left of curve, negative to right) or options object

Returns - undefined | CurvePrimitive | CurvePrimitive[]

Defined in

Last Updated: 21 November, 2024