orientLoopsCCWForOutwardNormalInPlace MethodStatic
Reverse loops as necessary to make them all have CCW orientation for given outward normal.
orientLoopsCCWForOutwardNormalInPlace(loops: IndexedReadWriteXYZCollection | IndexedReadWriteXYZCollection[], outwardNormal: Vector3d): number
@returns the number of loops reversed.
Parameter | Type | Description |
---|---|---|
loops | IndexedReadWriteXYZCollection | IndexedReadWriteXYZCollection[] | |
outwardNormal | Vector3d |
Returns - number
the number of loops reversed.
Defined in
- geometry3d/PolygonOps.ts Line 843
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.