API Reference > Classes > Geometry Classes > OdBmGArc Class > OdBmGArc Methods > OdBmGArc::set Method (OdGePoint3d&, OdGeVector3d&, OdGeVector3d&, double, double, double)
OdBmGArc::set Method (OdGePoint3d&, OdGeVector3d&, OdGeVector3d&, double, double, double)
Syntax
C++
OdResult set(const OdGePoint3d& center, const OdGeVector3d& xDirection, const OdGeVector3d& yDirection, double radius, double startAng, double endAng);
Parameters 
Description 
const OdGePoint3d& center 
[in] Center of arc.  
const OdGeVector3d& xDirection 
[in] Vector of the X-axis direction.  
const OdGeVector3d& yDirection 
[in] Vector of the Y-axis direction.  
double radius 
[in] Radius of arc.  
double startAng 
[in] Starting angle of arc.  
double endAng 
[in] Ending angle of arc.
 

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

Sets the parameters for this arc according to the arguments. 

 

To construct a circle, set endAng = startAng + Oda2PI 

All angles are expressed in radians. startAng must be less than endAng.

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