Close
Relief for ODA Team in Ukraine
Learn more
ODA Drawings SDK
API Reference
>
OdDb Classes
>
OdDbMPolygon Class
>
OdDbMPolygon Methods
>
OdDbMPolygon::getArea Method
OdDbMPolygon::getArea Method
Syntax
C++
virtual
OdResult
getArea
(
double
&
area
,
bool
areaViaHatch
=
false
)
const
;
Description
Returns the area of this entity.
Parameters
Parameters
Description
area
[out] Receives the area.
areaViaHatch
[in] Set true to calculate the area like a hatch (used before version 20.3).
Returns
eOk if successful, or an appropriate error code if not.
Links
OdDbMPolygon Class
Was this documentation helpful?
We are sorry. Please tell us what we can improve.
*
Great! Please provide additional feedback.
(Optional)
Thank you for your feedback!
Please wait...
Something went wrong!