API Reference > Classes > Geometry Classes > OdBmGEllipse Class > OdBmGEllipse Methods > OdBmGEllipse::set Method (OdGePoint3d&, OdGeVector3d&, OdGeVector3d&, double, double)
OdBmGEllipse::set Method (OdGePoint3d&, OdGeVector3d&, OdGeVector3d&, double, double)
Syntax
C++
OdResult set(const OdGePoint3d& center, const OdGeVector3d& xDirection, const OdGeVector3d& yDirection, double radiusX, double radiusY);
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. 

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

 

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