Iterator for all triangles around a given vertex. More...
#include <TriangleAroundVertexIterator.h>
Protected Member Functions  
void  loop () 
Protected Attributes  
const Point2 *  pPnt 
Triangle2 *  pSavedTr 
Triangle2 *  pTr 
Iterator for all triangles around a given vertex.
The TriangleAroundVertexIterator iterates over all triangles incident to a given vertex of a Fade_2D instance. The advantage is that the incident triangles can be visited in a certain order, namely counterclockwise with operator++() or clockwise using operator(). If the order is not important you can use Fade_2D::getIncidentTriangles() instead.

inlineexplicit 
Constructor.
pPnt_  is the vertex whose incident triangles can be visited with the iterator 
Initially the iterator points to an arbitrary triangle (not NULL)

inline 
Constructor.
pPnt_  is the vertex whose incident triangles can be visited with the iterator 
pTr_  is the triangle the iterator initially points to 

inline 
Copy constructor.
Copies the iterator it

inline 
Compares the center and the current triangle of *this and rhs

inline 
Returns a pointer to the current triangle (or NULL)
Dereferencing the iterator yields a pointer to the triangle to which the iterator points.

inline 
Proceed to the next triangle (the one in counterclockwise order)
Moves the iterator to the next triangle in counterclockwise order.

inline 
Proceed to the previous triangle (the one in clockwise order)
Moves the iterator to the next triangle in clockwise order.

inline 
Compares the center and the current triangle of *this and rhs

inline 
Preview next triangle (CCW direction)

inline 
Preview previous triangle (CW direction)