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: Readonly<WritableXYAndZ>, point1: Readonly<WritableXYAndZ>, result?: ClipPlane): undefined | ClipPlane
Parameter | Type | Description |
---|---|---|
point0 | Readonly<WritableXYAndZ> | |
point1 | Readonly<WritableXYAndZ> | |
result | ClipPlane |
Returns - undefined | ClipPlane
Defined in
- clipping/ClipPlane.ts Line 293
Last Updated: 07 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.