Public Member Functions
|MeshIterator (HTMesh *mesh, BufNum bufNum=0)|
|bool||hasNext () const|
|Trixel||next () const|
|void||reset () const|
|int||size () const|
MeshIterator is a very lightweight class used to iterate over the result set of an HTMesh intersection. If you want to iterate over the same result set multiple times in the same block of code, you don't need to create a new MeshIterator, just call the reset() method and then re-use the iterator.
Definition at line 20 of file MeshIterator.h.
Member Function Documentation
true if there are more trixel to iterate over.
Definition at line 27 of file MeshIterator.h.
returns the next trixel
Definition at line 31 of file MeshIterator.h.
sets the count back to zero so you can use this iterator to iterate again over the same result set.
Definition at line 40 of file MeshIterator.h.
returns the number of trixels stored
Definition at line 35 of file MeshIterator.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 03:57:37 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.