API Reference > Classes > Essential_Classes > OdBmCurveElem Class > OdBmCurveElem Methods > OdBmCurveElem::createEllipse Method
OdBmCurveElem::createEllipse Method
Syntax
C++
OdResult createEllipse(OdGePoint3d center, OdGeVector3d xDirection, OdGeVector3d yDirection, double radiusX, double radiusY, double startAng, double endAngle);
Parameters 
Description 
OdGePoint3d center 
[in] Input ellipse center.  
OdGeVector3d xDirection 
[in] Input ellipse x-direction.  
OdGeVector3d yDirection 
[in] Input ellipse y-direction.  
double radiusX 
[in] Input value of x-direction radius.  
double radiusY 
[in] Input value of y-direction radius.  
double startAng 
[in] Input start angle.  
double endAngle 
[in] Input end angle.
 

eOk if the operation completed successfully, or an appropriate error code otherwise.

Creates an ellipse. 

 

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.