IArc_DG Interface
- GetEndPoint
- GetEndPoint1
- SetEndPoint
- SetEndPoint1
- GetCurvature
- SetCurvature
- Init
- IsValid
- MakeValid
- GetPoint
- GetPoint1
- GetRadius
- SetRadius
- GetCenter
- GetCenter1
- GetAngleRange
- PassThroughPoint
DG2D GetEndPoint(int end)
void GetEndPoint1(int end, double x, double y)
void SetEndPoint(int end, DG2D point)
void SetEndPoint1(int end, double x, double y)
double GetCurvature()
void SetCurvature(double curv)
bool Init()
bool IsValid()
Returns true if the arc is geometrically possible: Absolute value of the curvature is not greater than 1.0/(chord length).
bool MakeValid()
If the curvature is greater than the geometrically possible, reduces its absolute value to 1.0/(chord length).
DG2D GetPoint(double t)
t has to be a ratio in [0,1] range foor points inside the arc. GetPoint(0.0) is the first end (as returned by GetEndPoint(0)).
void GetPoint1(double t, double x, double y)
t has to be a ratio in [0,1] range foor points inside the arc. GetPoint(1.0) is the second end (as returned by GetEndPoint(1)).
double GetRadius()
void SetRadius(double r)
DG2D GetCenter()
void GetCenter1(double x, double y)
void GetAngleRange(double min, double max)
int PassThroughPoint(double x, double y)
|