An object of the class Optimisation_circle_2<R> is a circle in the two-dimensional Euclidean plane . Its boundary splits into a bounded and an unbounded side. Note that the circle can be degenerate, i.e. it can be empty or contain only a single point. By definition, an empty Optimisation_circle_2<R> has no boundary and no bounded side, i.e. its unbounded side equals the whole plane . An Optimisation_circle_2<R> containing exactly one point has no bounded side, its boundary is , and its unbounded side equals -.
#include <CGAL/Optimisation_circle_2.h>
|
| Point type. |
|
| Distance type. |
|
| sets circle to the empty circle. |
|
| |
sets circle to the circle equal to the single point p. | ||
|
| |
sets circle to the circle with diameter
equal to the segment connecting p and q. Precondition: p and q are distinct. | ||
|
| |
sets circle to the unique circle through p,q,r. Precondition: p,q,r are not collinear. | ||
|
| |
sets circle to the circle with center center and squared radius squared_radius. |
|
| returns the center of circle. |
|
| |
returns the squared radius of circle. |
|
| returns true, iff circle and circle2 are equal, i.e. if they have the same center and same squared radius. |
|
| returns true, iff circle and circle2 are not equal. |
|
| |
returns ON_BOUNDED_SIDE, ON_BOUNDARY, or ON_UNBOUNDED_SIDE iff p lies properly inside, on the boundary of, or properly outside of circle, resp. | ||
|
| |
returns true, iff p lies properly inside circle. | ||
|
| |
returns true, iff p lies on the boundary of circle. | ||
|
| |
returns true, iff p lies properly outside of circle. | ||
|
| returns true, iff circle is empty (this implies degeneracy). |
|
| |
returns true, iff circle is degenerate, i.e. if circle is empty or equal to a single point. |
|
| |
writes circle to output stream os. | ||
|
| |
reads circle from input stream is. |
#include <CGAL/IO/Window_stream.h>
|
| |
writes circle to window stream ws. |