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.
 

Returns eOk if successful or an appropriate error code otherwise.

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