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

Last Updated: 07 October, 2025