sortOuterAndHoleLoops MethodStatic
Exactly like sortOuterAndHoleLoopsXY
but allows loops in any plane.
sortOuterAndHoleLoops(loops: IndexedReadWriteXYZCollection[], defaultNormal: Vector3d): IndexedReadWriteXYZCollection[][]
Parameter | Type | Description |
---|---|---|
loops | IndexedReadWriteXYZCollection[] | multiple loops to sort and reverse. |
defaultNormal | Vector3d | optional normal for the loops, if known |
Returns - IndexedReadWriteXYZCollection[][]
Defined in
- geometry3d/PolygonOps.ts Line 882
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.