API Reference > OdDb Classes > OdDbEllipse Class > OdDbEllipse Methods > OdDbEllipse::getArea Method
OdDbEllipse::getArea Method
Syntax
C++
virtual OdResult getArea(double& vArea) const;
Parameters 
Description 
double& vArea 
[out] Reference to a variable in which this method must save the area as a Double value. 

When an elliptical figure is unclosed, this method returns the area calculated for the closed figure formed by the elliptical arc and a line passed from the end point to the start point. When an elliptical figure is closed, this method returns the area of the ellipse. 

 

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