createMidPointEdgeXY MethodStatic
Variant of createEdgeXY that computes the plane using the edge midpoint instead of its start point.
- This is more stable for creating a pair of clip planes from a long edge and its reversal, as is commonly found in a UnionOfConvexClipPlaneSets.
createMidPointEdgeXY(point0: XYAndZ, point1: XYAndZ, result?: ClipPlane): ClipPlane | undefined
| Parameter | Type | Description |
|---|---|---|
| point0 | XYAndZ | |
| point1 | XYAndZ | |
| result | ClipPlane |
Returns - ClipPlane | undefined
Defined in
- clipping/ClipPlane.ts Line 295
Last Updated: 28 April, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.