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

Non-negative area of the contour.

Gets the non-negative area of the contour. 

 

For open contours, the first and last vertices are considered to be connected with a straight line.

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