CGAL::Circular_arc_point_2<CircularKernel>

#include <CGAL/Circular_arc_point_2.h>

Is Model for the Concepts

CircularKernel::CircularArcPoint_2

Creation

Circular_arc_point_2<CircularKernel> p ( CircularKernel::Point_2 q);

Circular_arc_point_2<CircularKernel> p ( CircularKernel::Root_for_circles_2_2 r);

Access Functions

CircularKernel::Root_of_2 p.x () x-coordinate of the point.
CircularKernel::Root_of_2 p.y () y-coordinate of the point.

Bbox_2 p.bbox () Returns a bounding box around the point.

Operations

bool p == q Test for equality. Two points are equal, iff their x and y coordinates are equal.

bool p != q Test for nonequality.

bool p < q Returns true iff p is lexicographically smaller than q, i.e. either if p.x() < q.x() or if p.x() == q.x() and p.y() < q.y().

bool p > q Returns true iff p is lexicographically greater than q.

bool p <= q Returns true iff p is lexicographically smaller than or equal to q.

bool p >= q Returns true iff p is lexicographically greater than or equal to q.

I/O

istream& std::istream& is >> Circular_arc_point_2 & cp
ostream& std::ostream& os << Circular_arc_point_2 ce

See Also

CGAL::Circular_arc_2<CircularKernel>
CGAL::Line_arc_2<CircularKernel>