clipConvexPolygonInPlace Method
Clip a polygon to the inside of the convex set.
- Results with 2 or fewer points are ignored.
- Other than ensuring capacity in the arrays, there are no object allocations during execution of this function.
clipConvexPolygonInPlace(xyz: GrowableXYZArray, work: GrowableXYZArray, tolerance: numberGeometry.smallMetricDistance): void
Parameter | Type | Description |
---|---|---|
xyz | GrowableXYZArray | input points. |
work | GrowableXYZArray | work buffer |
tolerance | number | tolerance for "on plane" decision. |
Returns - void
Defined in
- clipping/ConvexClipPlaneSet.ts Line 461
Last Updated: 28 October, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.