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

Face (Dcel::Face)

Definition

A face stores a reference to an incident halfedge, and an iterator for holes (which refers to objects of type Halfedge*).

Types

Dcel::Face::Vertex
corresponding vertex type.


Dcel::Face::Halfedge
corresponding halfedge type.


Dcel::Face::Face
self.


Dcel::Face::Holes_iterator
a bidirectional iterator over the holes in in f. Its value is Halfedge*.


Dcel::Face::Holes_const_iterator

Operations

Halfedge* f.halfedge () an incident halfedge on the outer CCB of the face.

const Halfedge* f.halfedge ()

void f.set_halfedge ( Halfedge* h)

void f.add_hole ( Halfedge* h)
adds a hole represented by h to the face.

void f.erase_hole ( Holes_iterator h)
removes the hole referenced by h from the face.

void
f.erase_holes ( Holes_iterator first,
Holes_iterator last)
removes the holes referenced by the range [first,last) from f.

Holes_iterator f.holes_begin () a begin iterator of the holes in f.

Holes_iterator f.holes_end () a past-the-end iterator of the holes in f.

Holes_const_iterator
f.holes_begin ()

Holes_const_iterator
f.holes_end ()


Next: Class declaration of Pm_dcel<V,H,F>
Navigation: Up, Table of Contents, Bibliography, Index, Title Page
The GALIA project. Jan 18, 2000.