constructPolygonWireXYOffset MethodStatic

Beta

Construct a wire (not area!!) that is offset from given polyline or polygon.

  • This is a simple wire offset, not an area.
  • The construction algorithm attempts to eliminate some self-intersections within the offsets, but does not guarantee a simple area offset.
  • The construction algorithm is subject to being changed, resulting in different (hopefully better) self-intersection behavior on the future.

constructPolygonWireXYOffset(points: Point3d[], wrap: boolean, offsetDistance: number): CurveCollection | undefined

Parameter Type Description
points Point3d[] a single loop or path
wrap boolean true to include wraparound
offsetDistance number distance of offset from wire. Positive is left.

Defined in

Last Updated: 05 June, 2020