Close

Relief for ODA Team in Ukraine

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

Constructor for objects of the OdGeCircArc2d class.

Parameters
Description
center
[in] Center of arc.
radius
[in] Radius of arc.
startAng
[in] Starting angle of arc.
endAng
[in] Ending angle of arc.
refVec
[in] The reference vector defining arc angle 0.
isClockWise
[in] Specifies whether the circle arc is oriented clockwise.

The constructor creates a circle arc with the specified parameters. To construct a circle, set endAng = startAng + Oda2PI. 

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

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