Public Member Functions |
| Arc () |
| Arc (const Matrix &m, Angle alpha, Angle beta) |
| Arc (const Matrix &m) |
| Arc (const Matrix &m0, const Vector &begp, const Vector &endp) |
bool | isEllipse () const |
double | distance (const Vector &v, double bound) const |
double | distance (const Vector &v, double bound, Vector &pos, Angle &angle) const |
Rect | bbox () const |
Vector | beginp () const |
Vector | endp () const |
void | intersect (const Line &l, std::vector< Vector > &result) const |
void | intersect (const Segment &s, std::vector< Vector > &result) const |
void | intersect (const Arc &a, std::vector< Vector > &result) const |
void | intersect (const Bezier &b, std::vector< Vector > &result) const |
An arc of an ellipse.
The ellipse is represented using the matrix that transforms the unit circle x^2 + y^2 = 1 to the desired ellipse. The arc coordinate system is the coordinate system of this unit circle.
A full ellipse is described by iAlpha = 0, iBeta = IpeTwoPi.
An elliptic arc is the image of the circular arc from iAlpha to iBeta (in increasing angle in arc coordinate system).