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

Last Updated: 28 April, 2026