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

Last Updated: 21 November, 2024