API Reference > OdDg Classes > OdDgLine2d Class > OdDgLine2d Methods > OdDgLine2d::getArea Method
OdDgLine2d::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–2021. Open Design Alliance. All rights reserved.