Navigation: Up, Table of Contents, Bibliography, Index, Title Page

Creation

Circ_curve cv ( Circle_2<Cartesian<NT> > c);
constructs a curve with a CGAL circle (source and target are identical and initialized to the leftmost point on the circle).


Circ_curve cv ( NT x, NT y, NT r2);
constructs a curve corresponding to a full circle, oriented counterclockwise, with its center at Point(x,y) and r2 as its squared radius.


Circ_curve cv ( NT x, NT y, NT r2, Point src, Point trgt);
constructs a curve corresponding to an arc segment of the circle that has its center at Point(x,y) and has r2 as its squared radius. The arc is oriented counterclockwise and src and trgt correspond to its source and target points.

Operations

Circle_2<Cartesian<NT> >
cv.circle () returns the circle the arc is on.

Point cv.source () returns the source point of the arc.

Point cv.target () returns the target point of the arc.

bool cv.is_x_monotone ()
returns true if the arc is x-monotone, false otherwise.


Next: Class declaration of Base_node
Navigation: Up, Table of Contents, Bibliography, Index, Title Page
The GALIA project. Jan 18, 2000.