|
| CircleArc2 () |
| Empty.
|
|
| CircleArc2 (const Vector2 &, const double &, const Vector2 &, const Vector2 &) |
| Creates a circle arc.
|
|
| CircleArc2 (const Vector2 &, const Vector2 &, const Vector2 &) |
| Creates a circle arc given three vertices.
|
|
void | Rotate (const Matrix2 &) |
| Rotates the arc.
|
|
void | Translate (const Vector2 &) |
| Translates the arc.
|
|
void | Scale (const double &) |
| Uniformly scales a circle.
|
|
Box2 | GetBox () const |
| Compute the axis aligned bounding box of the arc.
|
|
Vector2 | Normal (const Vector2 &) const |
| Compute the distance vector between a circular arc and a given point.
|
|
double | R (const Vector2 &) const |
| Compute the squared distance between a point and the circle arc.
|
|
void | Draw (QGraphicsScene &, const QPen &=QPen(), const QBrush &=QBrush()) const |
| Draw the circle arc.
|
|
|
| Circle2 () |
| Empty.
|
|
| Circle2 (const double &) |
| Create a circle centered at origin.
|
|
| Circle2 (const Vector2 &, const double &) |
| Create a circle.
|
|
| Circle2 (const Vector2 &, const Vector2 &, const Vector2 &) |
| Create the circle passing through 3 points.
|
|
| Circle2 (Vector2 *, int) |
| Creates a circle enclosing a set of points.
|
|
bool | Inside (const Vector2 &) const |
| Check if a point is inside the circle.
|
|
bool | Inside (const Circle2 &) const |
| Test if a circle is entirely embedded in another one.
|
|
bool | Inside (const Box2 &) const |
| Test if a box is inside the circle.
|
|
bool | InsideRange (const Vector2 &, const double &) const |
| Check if a point is within a given range of the circle.
|
|
Vector2 | Center () const |
| Center of the circle.
|
|
Vector2 | Vertex (const double &) const |
| Vertex on the circle.
|
|
double | Radius () const |
| Radius of the circle.
|
|
void | Extend (const Vector2 &) |
| Extend the circle so that the argument point should be embedded in the new circle.
|
|
Circle2 | Extended (const double &) const |
| Extend the radius of the circle.
|
|
bool | Intersect (const Box2 &) const |
| Check intersection with a box.
|
|
bool | Intersect (const Circle2 &) const |
| Check if two circles intersect each other.
|
|
bool | Intersect (const Ray2 &, double &, double &) const |
| Check the intersection between a circle and a ray.
|
|
bool | Intersect (const Ray2 &) const |
| Check the intersection between a circle and a ray.
|
|
bool | Intersect (const Segment2 &) const |
| Check the intersection between a circle and a segment.
|
|
Vector2 | Normal (const Vector2 &) const |
| Compute the distance vector between a ciecle.
|
|
double | R (const Vector2 &) const |
| Compute the squared distance between a point and the circle.
|
|
Box2 | GetBox () const |
| Compute the axis aligned bounding box of a circle.
|
|
Circle2 | Translated (const Vector &) const |
| Translate a circle.
|
|
Circle2 | Rotated (const Matrix2 &) const |
| Rotates a circle.
|
|
Circle2 | Transformed (const Frame2 &) const |
| Return a circle transformed by a frame.
|
|
void | Translate (const Vector2 &) |
| Translate a circle.
|
|
void | Rotate (const Matrix2 &) |
| Rotates a circle.
|
|
void | Scale (const double &) |
| Scales a circle.
|
|
double | Area () const |
| Area of the circle.
|
|
double | Area (const Circle2 &) const |
| Compute the area of the surface between two circles.
|
|
Vector2 | RandomInside (Random &=Random::R239) const |
| Generate a random vector inside the circle.
|
|
Vector2 | RandomOn (Random &=Random::R239) const |
| Generate a random vector on the circle.
|
|
Vector2 | Vogel (int, int) const |
| Generate a spiraling vector in the disc.
|
|
QVector< Vector2 > | Poisson (const double &, int, bool=false, Random &=Random::R239) const |
| Compute a Poisson sphere distribution inside a circle.
|
|
QuadricCurve2 | QuadricBezierArc (const double &) const |
| Compute the quadratic Bézier approximation of a circle arc.
|
|
CubicCurve2 | CubicBezierArc (const double &) const |
| Compute the cubic Bézier approximation of a circle arc.
|
|
void | Draw (QGraphicsScene &, const QPen &=QPen(), const QBrush &=QBrush()) const |
| Draw a circle.
|
|
static Vector2 | RandomUnit (Random &=Random::R239) |
| Compute a random vertex inside a unit disc.
|
|
static constexpr const double | Epsilon = 1.e-6 |
| Epslion for intersection tests
|
|
static const Circle2 | Unit |
| Unit circle.
|
|
static const Circle2 | Infinite |
| Infinite circle.
|
|
Circle arcs in the plane.