Iterator for all triangles around a given vertex. More...
#include <TriangleAroundVertexIterator.h>
Public Member Functions  
TriangleAroundVertexIterator (const Point2 *pPnt_)  
Constructor. More...  
TriangleAroundVertexIterator (Point2 *pPnt_, Triangle2 *pTr_)  
Constructor. More...  
TriangleAroundVertexIterator (const TriangleAroundVertexIterator &it)  
Copy constructor. More...  
TriangleAroundVertexIterator &  operator= (const TriangleAroundVertexIterator &other) 
TriangleAroundVertexIterator &  operator++ () 
Proceed to the next triangle (the one in counterclockwise order) More...  
TriangleAroundVertexIterator &  operator () 
Proceed to the previous triangle (the one in clockwise order) More...  
bool  operator== (const TriangleAroundVertexIterator &rhs) 
Check if the center points and the current triangles of the iterators are the same. More...  
bool  operator!= (const TriangleAroundVertexIterator &rhs) 
Check if the center points or the current triangles of the iterators are different. More...  
Triangle2 *  operator* () 
Returns a pointer to the current triangle (or NULL) More...  
Triangle2 *  previewNextTriangle () 
Preview next triangle (CCW direction) More...  
Triangle2 *  previewPrevTriangle () 
Preview previous triangle (CW direction) More...  
Protected Member Functions  
void  loop () 
Protected Attributes  
const Point2 *  pPnt 
Triangle2 *  pTr 
Triangle2 *  pSavedTr 
Iterates over all triangles incident to a given vertex in a circular manner. Thereby, counterclockwise is the positive direction.

inlineexplicit 
pPnt_  is the vertex whose incident triangles can be visited with the iterator 
The iterator will start at an arbitrary triangle

inline 
pPnt_  is the vertex whose incident triangles can be visited with the iterator 
pTr_  is the triangle where the iterator will start 

inline 

inline 

inline 
Dereferencing the iterator yields a pointer to the triangle to which the iterator points.

inline 

inline 

inline 

inline 

inline 