intersectRangeConvexPolygonInPlace MethodStatic
Clip a convex polygon in place by a range box.
intersectRangeConvexPolygonInPlace(range: Range3d, xyz: GrowableXYZArray): undefined | GrowableXYZArray
@returns reference to xyz if the polygon still has points; undefined if all points are clipped away.
| Parameter | Type | Description |
|---|---|---|
| range | Range3d | six clipping planes |
| xyz | GrowableXYZArray | convex polygon, clipped in place |
Returns - undefined | GrowableXYZArray
reference to xyz if the polygon still has points; undefined if all points are clipped away.
Defined in
- geometry3d/PolygonOps.ts Line 1805
Last Updated: 16 December, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.