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

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

Returns the area of this ModelerGeometry object.

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