API Reference > OdDb Classes > OdDbMPolygon Class > OdDbMPolygon Methods > OdDbMPolygon::getPerimeter Method
OdDbMPolygon::getPerimeter Method
Syntax
C++
virtual double getPerimeter() const;

Perimeter of the OdDbMPolygon.

Calculates the OdDbMPolygon perimeter by adding the lengths of all borders. 

 

Annotation boundaries are not taken into account.

Copyright © 2002–2021. Open Design Alliance. All rights reserved.