An object of type Circle_2<R> is a circle in the two-dimensional Euclidean plane . The circle is oriented, i.e. its boundary has clockwise or counterclockwise orientation. The boundary splits into a positive and a negative side, where the positive side is to the left of the boundary. The boundary further splits into a bounded and an unbounded side. Note that the circle can be degenerated, i.e. the squared radius may be zero.
#include <CGAL/Circle_2.h>
| |||
|
introduces a variable circle of type Circle_2<R>.
It is initialized to the circle with center center,
squared radius squared_radius and orientation
orientation. Precondition: orientation COLLINEAR, and further, squared_radius 0.
| |||
|
| |||
|
introduces a variable circle of type Circle_2<R>.
It is initialized to the unique circle which passes through
the points p, q and r. The orientation of
the circle is the orientation of the point triple p,
q, r. Precondition: p, q, and r are not collinear.
| |||
| |||
|
introduces a variable circle of type Circle_2<R>.
It is initialized to the circle with diameter
and orientation orientation. Precondition: orientation COLLINEAR.
| |||
| |||
|
introduces a variable circle of type Circle_2<R>.
It is initialized to the circle with center center, squared
radius zero and orientation orientation. Precondition: orientation COLLINEAR. Postcondition: circle.is_degenerate() = true.
| |||
|
|
| returns the center of circle. |
|
|
| |
| returns the squared radius of circle. | ||
|
|
| |
| returns the orientation of circle. | ||
|
|
| returns true, iff circle and circle2 are equal, i.e. if they have the same center, same squared radius and same orientation. |
|
|
| returns true, iff circle and circle2 are not equal. |
|
|
| |
| returns true, iff circle is degenerate, i.e. if circle has squared radius zero. | ||
|
|
| |
| returns either the constant ON_ORIENTED_BOUNDARY, ON_POSITIVE_SIDE, or ON_NEGATIVE_SIDE, iff p lies on the boundary, properly on the positive side, or properly on the negative side of circle, resp. | ||
|
|
| |
| returns ON_BOUNDED_SIDE, ON_BOUNDARY, or ON_UNBOUNDED_SIDE iff p lies properly inside, on the boundary, or properly outside of circle, resp. | ||
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| returns the circle with the same center and squared radius as circle but with opposite orientation. | ||
|
|
| |||
|
returns the circle obtained by applying on circle. Precondition: at is an orthogonal transformation. | ||||
|
|
| returns a bounding box containing circle. | ||