Vertex::EdgeAroundIterator Class Reference

#include <Vertex.h>

List of all members.


Detailed Description

The iterator that visits edges or vertices in one ring of the current face in order.

Definition at line 62 of file Vertex.h.

Public Member Functions

 EdgeAroundIterator (Edge *e)
EdgeAroundIteratoroperator++ (void)
EdgeAroundIterator operator++ (int)
Edgeedge_out (void) const
Edge *& edge_out (void)
Vertexvertex (void) const
Vertex *& vertex (void)
bool end (void)

Private Attributes

EdgeendI
Edgerun


Constructor & Destructor Documentation

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

Definition at line 68 of file Vertex.h.

00068                                    {
00069           endI = NULL;
00070           run = e;
00071       }


Member Function Documentation

Edge* & Vertex::EdgeAroundIterator::edge_out void   )  [inline]
 

Definition at line 82 of file Vertex.h.

00082 { return run; }

Edge* Vertex::EdgeAroundIterator::edge_out void   )  const [inline]
 

Definition at line 81 of file Vertex.h.

00081 { return run; }

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

Definition at line 87 of file Vertex.h.

00087 { return endI == run;}

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

Definition at line 77 of file Vertex.h.

00077                                           {
00078           EdgeAroundIterator r = *this; ++*this; return r;
00079       }

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

Definition at line 72 of file Vertex.h.

00072                                             {
00073           if (!endI) endI = run;
00074           run = run->pair->next;
00075           return *this;
00076       }

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

Definition at line 85 of file Vertex.h.

00085 { return run->vertex; }

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

Definition at line 84 of file Vertex.h.

00084 { return run->vertex; }


Member Data Documentation

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

Definition at line 64 of file Vertex.h.

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

Definition at line 65 of file Vertex.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