IArc_DG Interface
Properties
- double Curvature
- double Radius
Methods
- GetEndPoint
- GetEndPoint1
- SetEndPoint
- SetEndPoint1
- Init
- IsValid
- MakeValid
- GetPoint
- GetPoint1
- GetCenter
- GetCenter1
- GetAngleRange
- PassThroughPoint
T2DDg GetEndPoint(int end)
void GetEndPoint1(int end, double x, double y)
void SetEndPoint(int end, T2DDg point)
void SetEndPoint1(int end, double x, double y)
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).
T2DDg 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)).
T2DDg GetCenter()
void GetCenter1(double x, double y)
void GetAngleRange(double min, double max)
int PassThroughPoint(double x, double y)
|