C3D Toolkit
Kernel - 117982, Vision - 2.9.2.2
|
Iterator for traverse faces adjacent to a vertex. More...
#include <topology_iterator.h>
Public Member Functions | |
VertexFacesIterator (const MbVertex &vertex, MbFaceShell &shell) | |
Weather the cache is created and destroied in the iterator. More... | |
VertexFacesIterator (const MbVertex &vertex, CacheFacesForVertex &cacheEdges) | |
Contructor. More... | |
~VertexFacesIterator () | |
Destructor. | |
void | next () |
Move to the next face. | |
void | operator++ () |
Move to the next face. | |
bool | done () |
Test whether the traverse is over. | |
bool | undone () |
Test whether the traverse is not over. | |
const MbFace & | operator* () |
Получить ребро. | |
CacheFacesForVertex * | GetCache () const |
Get cache. | |
Iterator for traverse faces adjacent to a vertex.
VertexFacesIterator::VertexFacesIterator | ( | const MbVertex & | vertex, |
MbFaceShell & | shell | ||
) |
Weather the cache is created and destroied in the iterator.
Contructor.
[in] | vertex | Vertex for which's cache is built. If null, cache is built for every vertex. |
[in] | shell | Shell for which's verticies cache is built. |
VertexFacesIterator::VertexFacesIterator | ( | const MbVertex & | vertex, |
CacheFacesForVertex & | cacheEdges | ||
) |
Contructor.
Expected that existing cache contains data for the vertex.
[in] | vertex | Vertex for which's cache is built. If null, cache is built for every vertex. |
[in] | cacheEdges | Existing cache. |