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

eOk if successful or an appropriate error code in other case. The area value is returned in square drawing units.

Calculates the area of the solid. 

 

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.