sortOuterAndHoleLoops MethodStatic
Exactly like sortOuterAndHoleLoopsXY
but allows loops in any plane.
sortOuterAndHoleLoops(loops: IndexedReadWriteXYZCollection[], defaultNormal: undefined | Vector3d): IndexedReadWriteXYZCollection[][]
Parameter | Type | Description |
---|---|---|
loops | IndexedReadWriteXYZCollection[] | multiple loops to sort and reverse. |
defaultNormal | undefined | Vector3d | optional normal for the loops, if known |
Returns - IndexedReadWriteXYZCollection[][]
Defined in
- geometry3d/PolygonOps.ts Line 836
Last Updated: 20 June, 2023