orientLoopsCCWForOutwardNormalInPlace MethodStatic
Reverse loops as necessary to make them all have CCW orientation for given outward normal.
orientLoopsCCWForOutwardNormalInPlace(loops: IndexedReadWriteXYZCollection | IndexedReadWriteXYZCollection[], outwardNormal: Vector3d): number
Parameter | Type | Description |
---|---|---|
loops | IndexedReadWriteXYZCollection | IndexedReadWriteXYZCollection[] | |
outwardNormal | Vector3d |
Returns - number
the number of loops reversed.
Defined in
- geometry3d/PolygonOps.ts Line 792
Last Updated: 30 November, 2023