API Reference > FacetModeler Namespace > Classes > Contour2D Class > Contour2D Methods > Contour2D::isCCW Method
Contour2D::isCCW Method
Syntax
C++
bool isCCW() const;

true if the contour has counter-clockwise orientation, or false otherwise.

Gets the orientation of the contour. 

 

The area of the contour is positive for a counter-clockwise contour and negative for a clockwise contour.

Copyright © 2002-2020. Open Design Alliance. All rights reserved.