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.
 

Returns eOk if successful, or an appropriate error code otherwise.

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

 

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

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