![]() |
MKI_CalcArcAngle (Calculation) New in Version 2016.1 |
www.CAD6.com |
C++ Syntaxdouble MKI_CalcArcAngle( MKI_CONST_POINT_REF f_rCenter, MKI_CONST_POINT_REF f_rAngle1, MKI_CONST_POINT_REF f_rAngle2, bool f_fPositive );
Calculates the arc-angle of a circular arc.
ParametersCenter [MKI_CONST_POINT_REF] Coordinates of the circle's center-point in internal [mm]. Angle1 [MKI_CONST_POINT_REF] Coordinates of the circular arc's start-angle definition point in internal [mm]. Angle2 [MKI_CONST_POINT_REF] Coordinates of the circular arc's end-angle definition point in internal [mm]. Positive [bool] If true, the arc is drawn in positive direction, i.e. counterclockwise. If false, it is drawn in negative direction, i.e. clockwise.
Return ValueReturns the arc-angle of the circular arc in [rad].
CommentIf you want to calculate the arc's length, simply multiply this function's result with the circle's radius.
|
CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH