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

Last Updated: 13 June, 2024