createXYPolyLine MethodStatic

Create a convex set containing a half space for each edge between points of a polyline.

  • Caller is responsible for assuring the polyline is convex.

createXYPolyLine(points: Point3d[], interior: boolean[], leftIsInside: boolean, result?: ConvexClipPlaneSet): ConvexClipPlaneSet

Parameter Type Description
points Point3d[] array of points. Only xy parts are considered.
interior boolean[] array whose boolean value is used as both the interior and invisible bits of the plane for the
succeeding segment. If this array is not provided, both are false.
leftIsInside boolean if true, the interior is "to the left" of the segments. If false, interior is "to the right".
result ConvexClipPlaneSet  

Returns - ConvexClipPlaneSet

Defined in

Last Updated: 14 November, 2024