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

eOk if successful or an appropriate error code otherwise.

Calculates the area of the region. The area value is returned in square 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.