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

eOk if successful, or an appropriate error code otherwise.

Calculates the total surface area. 

 

This method calculates the area of a single side of the surface. 

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.