constructOffsetXY Method

Construct an offset of each segment as viewed in the xy-plane (ignoring z).

  • No attempt is made to join the offset segments. Use RegionOps.constructCurveXYOffset() to return a fully joined offset.

constructOffsetXY(offsetDistanceOrOptions: number | OffsetOptions): CurvePrimitive | CurvePrimitive[] | undefined

Parameter Type Description
offsetDistanceOrOptions number | OffsetOptions offset distance (positive to left of the instance curve), or options object

Returns - CurvePrimitive | CurvePrimitive[] | undefined

Defined in

Last Updated: 28 April, 2026