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.
 

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

Calculates the area of the solid. 

 

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

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