convexPolygonSplitInsideOutside Method

Deprecated  instead of plane.convexPolygonSplitInsideOutside (xyz, xyzIn, xyzOut, altitudeRange) use PolygonOops.splitConvexPolygonInsideOutsidePlane(this, xyz, xyzIn, xyzOut, altitudeRange)

Split a (convex) polygon into 2 parts.

convexPolygonSplitInsideOutside(xyz: Point3d[], xyzIn: Point3d[], xyzOut: Point3d[], altitudeRange: Range1d): void

Parameter Type Description
xyz Point3d[] original polygon
xyzIn Point3d[] array to receive inside part
xyzOut Point3d[] array to receive outside part
altitudeRange Range1d min and max altitudes encountered.

Returns - void

Defined in

Last Updated: 13 June, 2024