|
C3D Toolkit
Kernel - 118069, Vision - 2.16.7.1844
|
Counterclockwise iterator of vertex fan edges. Does not verify given vertex validity. More...
#include <halfedge_iterators.h>
Public Member Functions | |
| EdgeFanIterator (const MbHalfedge &topo, size_t iVx, bool bSure) | |
| Construct from vertex. More... | |
| EdgeFanIterator (const MbHalfedge &topo, size_t iEd) | |
| Construct from edge. More... | |
| ~EdgeFanIterator () | |
| Destructor. | |
| void | operator++ () |
| Increment operator moves iterator to the next edge in the vertex fan. | |
| const c3d::IndicesPair & | EdgePair () const |
| Get indices of edges for the current iterator position. | |
| size_t | Edge () const |
| Get an index of the outgoing edge. | |
| size_t | Twin () const |
| Get an index of the incoming edge. | |
| size_t | OriginVertex () const |
| Get an index of the origin vertex. | |
| size_t | DestinationVertex () const |
| Get an index of the destination vertex. | |
| bool | Done () const |
| Check if all edges in the fan were visited during iteration. | |
Counterclockwise iterator of vertex fan edges. Does not verify given vertex validity.
| EdgeFanIterator::EdgeFanIterator | ( | const MbHalfedge & | topo, |
| size_t | iVx, | ||
| bool | bSure | ||
| ) |
Construct from vertex.
| [in] | topo | - Halfedge topology. |
| [in] | iVx | - Vertex id. |
| [in] | bSure | - True if simplified iteration is allowed. For simplified iteration a boundary vertex always stores a boundary edge. |
| EdgeFanIterator::EdgeFanIterator | ( | const MbHalfedge & | topo, |
| size_t | iEd | ||
| ) |
Construct from edge.
| [in] | topo | - Halfedge topology. |
| [in] | iEd | - Edge id. |