Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdGeCircArc2d::set Method (const OdGePoint2d&, double, double, double, const OdGeVector2d&, bool)
Syntax
C++
OdGeCircArc2d& set(const OdGePoint2d& center, double radius, double startAng, double endAng, const OdGeVector2d& refVec = OdGeVector2d::kXAxis, bool isClockWise = false);

Sets the parameters for this arc according to the arguments, and returns a reference to this arc. 

 

Parameters
Description
center
[in] Center of the arc.
radius
[in] Radius of the arc.
startAng
[in] Starting angle of the arc.
endAng
[in] Ending angle of the arc.
refVec
[in] Reference vector defining arc angle 0.
isClockWise
[in] If true, the arc is drawn clockwise, otherwise counterclockwise.

To construct a circle, set endAng = startAng + Oda2PI 

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

Copyright © 2002-2022. Open Design Alliance All rights reserved.