CGAL::Voronoi_diagram_2<DG,AT,AP>::Face

Definition

The class Voronoi_diagram_2<DG,AT,AP>::Face is the class provided by the Voronoi_diagram_2<DG,AT,AP> class for Voronoi faces. Below we present its interface.

Is Model for the Concepts

DefaultConstructible, CopyConstructible, Assignable, EqualityComparable, LessThanComparable

Types

Voronoi_diagram_2<DG,AT,AP>::Face::Vertex
A type for the vertices of the Voronoi diagram.

Voronoi_diagram_2<DG,AT,AP>::Face::Halfedge
A type for the halfedges of the Voronoi diagram.

Voronoi_diagram_2<DG,AT,AP>::Face::Vertex_handle
Handle for the vertices of the Voronoi diagram.

Voronoi_diagram_2<DG,AT,AP>::Face::Face_handle
Handle for the faces of the Voronoi diagram.

Voronoi_diagram_2<DG,AT,AP>::Face::Halfedge_handle
Handle for the halfedges of the Voronoi diagram.

Voronoi_diagram_2<DG,AT,AP>::Face::Ccb_halfedge_circulator
A type for a bidirectional circulator over the halfedges on the boundary of the face. The value type of the circulator is CGAL::Voronoi_diagram_2<DG,AT,AP>::Halfedge, and is convertible to Halfedge_handle.

Voronoi_diagram_2<DG,AT,AP>::Face::Delaunay_graph
A type for the Delaunay graph. It is a model of the DelaunayGraph_2 concept.

typedef Delaunay_graph::Vertex_handle
Delaunay_vertex_handle; A type for the handle of the dual vertex.

Access Methods

Halfedge_handle f.halfedge () Returns an incident halfedge on the boundary of f.
Ccb_halfedge_circulator f.ccb () Returns a bidirectional circulator for traversing the halfedges on the boundary of f. The halfedges are traversed in counterclockwise order.
Delaunay_vertex_handle f.dual () Returns a handle to the corresponding dual vertex in the Delaunay graph.

Predicate Methods

bool f.is_unbounded () Returns true iff the face is an unbounded face in the Voronoi diagram.

bool f.is_halfedge_on_ccb ( Halfedge e)
Returns true iff e is a halfedge of the boundary of f.
bool f.is_valid () Returns true iff the following conditions are met: the face is not rejected by the chosen adaptation policy; all its adjacent halfedges do not have zero length; all its adjacent halfedges return the face as their adjacent face.

See Also

CGAL::Voronoi_diagram_2<DG,AT,AP>
CGAL::Voronoi_diagram_2<DG,AT,AP>::Vertex
CGAL::Voronoi_diagram_2<DG,AT,AP>::Halfedge
DelaunayGraph_2