API Reference > Classes > Geometry Classes > OdBmGEllipse Class > OdBmGEllipse Methods > OdBmGEllipse::set Method (OdGePoint3d&, OdGeVector3d&, OdGeVector3d&, double, double, double, double)
OdBmGEllipse::set Method (OdGePoint3d&, OdGeVector3d&, OdGeVector3d&, double, double, double, double)
Syntax
C++
OdResult set(const OdGePoint3d& center, const OdGeVector3d& xDirection, const OdGeVector3d& yDirection, double radiusX, double radiusY, double startAngle, double endAngle);
Parameters 
Description 
const OdGePoint3d& center 
[in] The center of the ellipse.  
const OdGeVector3d& xDirection 
[in] The major axis of the ellipse.  
const OdGeVector3d& yDirection 
[in] The minor axis of the ellipse.  
double radiusX 
[in] The major radius of the ellipse.  
double radiusY 
[in] The minor radius of the ellipse.  
startAng 
[in] Starting angle of the ellipse.  
endAng 
[in] Ending angle of the ellipse. 

Sets the parameters for this ellipse according to the arguments, and returns error code. 

 

All angles are expressed in radians.

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