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] A reference for returning the calculated surface area value.
 

Returns eOk if successful, or an appropriate error code otherwise.

Calculates the total surface area. 

 

Method calculates the area of a single side of the surface. 

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

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