API Reference > geometry-core > CartesianGeometry > PolygonOps > orientLoopsCCWForOutwardNormalInPlace 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 core/geometry/src/geometry3d/PolygonOps.ts Line 637 Last Updated: 13 June, 2024