Face::EdgeAroundIterator Class Reference

#include <Face.h>

List of all members.


Detailed Description

The iterator that visits edges, vertices, or faces around the current face in order.

Definition at line 42 of file Face.h.

Public Member Functions

 EdgeAroundIterator (Edge *e)
void reset ()
EdgeAroundIteratoroperator++ (void)
EdgeAroundIterator operator++ (int)
Edgeedge (void) const
Edge *& edge (void)
Vertexvertex (void) const
Vertex *& vertex (void)
Faceface (void) const
Face *& face (void)
bool end (void)

Private Attributes

EdgeendI
Edgerun
Edge_e


Constructor & Destructor Documentation

Face::EdgeAroundIterator::EdgeAroundIterator Edge e  )  [inline]
 

Definition at line 49 of file Face.h.

00049                                    {
00050           endI = NULL;
00051           run = e;
00052           _e = e;
00053       }


Member Function Documentation

Edge* & Face::EdgeAroundIterator::edge void   )  [inline]
 

Definition at line 70 of file Face.h.

00070 { return run; }

Edge* Face::EdgeAroundIterator::edge void   )  const [inline]
 

Definition at line 69 of file Face.h.

00069 { return run; }

bool Face::EdgeAroundIterator::end void   )  [inline]
 

Definition at line 78 of file Face.h.

00078 { return endI == run;}

Face* & Face::EdgeAroundIterator::face void   )  [inline]
 

Definition at line 76 of file Face.h.

00076 { return run->pair->face; }

Face* Face::EdgeAroundIterator::face void   )  const [inline]
 

Definition at line 75 of file Face.h.

00075 { return run->pair->face; }

EdgeAroundIterator Face::EdgeAroundIterator::operator++ int   )  [inline]
 

Definition at line 65 of file Face.h.

00065                                           {
00066           EdgeAroundIterator r = *this; ++*this; return r;
00067       }

EdgeAroundIterator& Face::EdgeAroundIterator::operator++ void   )  [inline]
 

Definition at line 60 of file Face.h.

00060                                             {
00061           if (!endI) endI = run;
00062           run = run->next;
00063           return *this;
00064       }

void Face::EdgeAroundIterator::reset  )  [inline]
 

Definition at line 55 of file Face.h.

00055                    {
00056           endI = NULL;
00057           run = _e;
00058       }

Vertex* & Face::EdgeAroundIterator::vertex void   )  [inline]
 

Definition at line 73 of file Face.h.

00073 { return run->vertex; }

Vertex* Face::EdgeAroundIterator::vertex void   )  const [inline]
 

Definition at line 72 of file Face.h.

00072 { return run->vertex; }


Member Data Documentation

Edge* Face::EdgeAroundIterator::_e [private]
 

Definition at line 46 of file Face.h.

Edge* Face::EdgeAroundIterator::endI [private]
 

Definition at line 44 of file Face.h.

Edge* Face::EdgeAroundIterator::run [private]
 

Definition at line 45 of file Face.h.


The documentation for this class was generated from the following file:
Generated on Sat Jun 3 13:33:43 2006 for CirclePatterns by  doxygen 1.4.5