Mesh::HalfEdgeIterator Class Reference

#include <Mesh.h>

List of all members.


Detailed Description

Definition at line 198 of file Mesh.h.

Public Member Functions

 HalfEdgeIterator ()
 HalfEdgeIterator (EdgeSet *_edges)
HalfEdgeIteratoroperator++ (void)
HalfEdgeIterator operator++ (int)
HalfEdgeIteratoroperator-- (void)
HalfEdgeIterator operator-- (int)
Edgehalf_edge (void) const
void find (Edge *eTmp)
void reset ()
bool end (void)

Private Attributes

EdgeSet::iterator eIter
EdgeSetedgesPtr


Constructor & Destructor Documentation

Mesh::HalfEdgeIterator::HalfEdgeIterator  )  [inline]
 

Definition at line 203 of file Mesh.h.

00203                          {
00204           edgesPtr = NULL;
00205       }

Mesh::HalfEdgeIterator::HalfEdgeIterator EdgeSet _edges  )  [inline]
 

Definition at line 206 of file Mesh.h.

00206                                          {
00207           eIter = _edges->begin();
00208           edgesPtr = _edges;
00209       }


Member Function Documentation

bool Mesh::HalfEdgeIterator::end void   )  [inline]
 

Definition at line 233 of file Mesh.h.

00233 { return eIter == edgesPtr->end();}

void Mesh::HalfEdgeIterator::find Edge eTmp  )  [inline]
 

Definition at line 228 of file Mesh.h.

00228                               {
00229           eIter = edgesPtr->find(eTmp);
00230       }

Edge* Mesh::HalfEdgeIterator::half_edge void   )  const [inline]
 

Definition at line 225 of file Mesh.h.

00225 { return *eIter; }

HalfEdgeIterator Mesh::HalfEdgeIterator::operator++ int   )  [inline]
 

Definition at line 214 of file Mesh.h.

00214                                         {
00215           HalfEdgeIterator r = *this; ++*this; return r;
00216       }

HalfEdgeIterator& Mesh::HalfEdgeIterator::operator++ void   )  [inline]
 

Definition at line 210 of file Mesh.h.

00210                                           {
00211           eIter++;
00212           return *this;
00213       }

HalfEdgeIterator Mesh::HalfEdgeIterator::operator-- int   )  [inline]
 

Definition at line 221 of file Mesh.h.

00221                                         {
00222           HalfEdgeIterator r = *this; --*this; return r;
00223       }

HalfEdgeIterator& Mesh::HalfEdgeIterator::operator-- void   )  [inline]
 

Definition at line 217 of file Mesh.h.

00217                                           {
00218           eIter--;
00219           return *this;
00220       }

void Mesh::HalfEdgeIterator::reset  )  [inline]
 

Definition at line 232 of file Mesh.h.

00232 {eIter = edgesPtr->begin(); }


Member Data Documentation

EdgeSet* Mesh::HalfEdgeIterator::edgesPtr [private]
 

Definition at line 201 of file Mesh.h.

EdgeSet::iterator Mesh::HalfEdgeIterator::eIter [private]
 

Definition at line 200 of file Mesh.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