CGAL 4.7 - 2D Voronoi Diagram Adaptor
|
#include <CGAL/Voronoi_diagram_2.h>
The class Face
is the class provided by the Voronoi_diagram_2<DG,AT,AP>
class for Voronoi faces.
Below we present its interface.
Types | |
typedef unspecified_type | Vertex |
A type for the vertices of the Voronoi diagram. More... | |
typedef unspecified_type | Halfedge |
A type for the halfedges of the Voronoi diagram. More... | |
typedef unspecified_type | Vertex_handle |
Handle for the vertices of the Voronoi diagram. More... | |
typedef unspecified_type | Face_handle |
Handle for the faces of the Voronoi diagram. More... | |
typedef unspecified_type | Halfedge_handle |
Handle for the halfedges of the Voronoi diagram. More... | |
typedef unspecified_type | Ccb_halfedge_circulator |
A type for a bidirectional circulator over the halfedges on the boundary of the face. More... | |
typedef unspecified_type | Delaunay_graph |
A type for the Delaunay graph. More... | |
typedef Delaunay_graph::Vertex_handle | Delaunay_vertex_handle |
A type for the handle of the dual vertex. More... | |
Access Methods | |
Halfedge_handle | halfedge () |
Returns an incident halfedge on the boundary of f . More... | |
Ccb_halfedge_circulator | ccb () |
Returns a bidirectional circulator for traversing the halfedges on the boundary of f . More... | |
Delaunay_vertex_handle | dual () |
Returns a handle to the corresponding dual vertex in the Delaunay graph. More... | |
Predicate Methods | |
bool | is_unbounded () |
Returns true iff the face is an unbounded face in the Voronoi diagram. More... | |
bool | is_halfedge_on_ccb (Halfedge e) |
Returns true iff e is a halfedge of the boundary of f . More... | |
bool | 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. More... | |
typedef unspecified_type CGAL::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
.
typedef unspecified_type CGAL::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 CGAL::Voronoi_diagram_2< DG, AT, AP >::Face::Delaunay_vertex_handle |
A type for the handle of the dual vertex.
typedef unspecified_type CGAL::Voronoi_diagram_2< DG, AT, AP >::Face::Face_handle |
Handle for the faces of the Voronoi diagram.
typedef unspecified_type CGAL::Voronoi_diagram_2< DG, AT, AP >::Face::Halfedge |
A type for the halfedges of the Voronoi diagram.
typedef unspecified_type CGAL::Voronoi_diagram_2< DG, AT, AP >::Face::Halfedge_handle |
Handle for the halfedges of the Voronoi diagram.
typedef unspecified_type CGAL::Voronoi_diagram_2< DG, AT, AP >::Face::Vertex |
A type for the vertices of the Voronoi diagram.
typedef unspecified_type CGAL::Voronoi_diagram_2< DG, AT, AP >::Face::Vertex_handle |
Handle for the vertices of the Voronoi diagram.
Ccb_halfedge_circulator CGAL::Voronoi_diagram_2< DG, AT, AP >::Face::ccb | ( | ) |
Returns a bidirectional circulator for traversing the halfedges on the boundary of f
.
The halfedges are traversed in counterclockwise order.
Delaunay_vertex_handle CGAL::Voronoi_diagram_2< DG, AT, AP >::Face::dual | ( | ) |
Returns a handle to the corresponding dual vertex in the Delaunay graph.
Halfedge_handle CGAL::Voronoi_diagram_2< DG, AT, AP >::Face::halfedge | ( | ) |
Returns an incident halfedge on the boundary of f
.
bool CGAL::Voronoi_diagram_2< DG, AT, AP >::Face::is_halfedge_on_ccb | ( | Halfedge | e | ) |
Returns true
iff e
is a halfedge of the boundary of f
.
bool CGAL::Voronoi_diagram_2< DG, AT, AP >::Face::is_unbounded | ( | ) |
Returns true
iff the face is an unbounded face in the Voronoi diagram.
bool CGAL::Voronoi_diagram_2< DG, AT, AP >::Face::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.