API Reference > OdDb Classes > OdDbRegion Class > OdDbRegion Methods > OdDbRegion::getPerimeter Method
OdDbRegion::getPerimeter Method
Syntax
C++
virtual OdResult getPerimeter(double&) const;
Parameters 
Description 
area 
[out] Reference for returning the perimeter value.
 

eOk if successful, or an appropriate error code otherwise.

Calculates the perimeter of the region. The perimeter value is returned in drawing units. 

 

This method is implemented only for Spatial modeler and returns the eNotImplementedYet status for other modelers.

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