API Reference > OdDg Classes > OdDgCurveElement2d Class > OdDgCurveElement2d Methods > OdDgCurveElement2d::getArea Method
OdDgCurveElement2d::getArea Method
Syntax
C++
virtual OdResult getArea(double& area) const;
Parameters 
Description 
double& area 
[out] Receives the area. 

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

Returns the area of this Curve object. 

 

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