|
FreeCAD C++
|
#include <Mod/Mesh/App/Core/Iterator.h>
The MeshPointIterator allows to iterate over the vertices of the mesh and provides access to their geometric information.
Public Member Functions | |
Construction | |
| MeshPointIterator (const MeshKernel &rclM) | |
| MeshPointIterator (const MeshKernel &rclM, unsigned long ulPos) | |
| MeshPointIterator (const MeshPointIterator &rclI) | |
Transformation | |
| void | Transform (const Base::Matrix4D &rclTrf) |
| Transforms the returned points with the current transformation. | |
Access methods | |
| const MeshPoint & | operator * (void) const |
| Access to the element the iterator points to. | |
| const MeshPoint * | operator-> (void) const |
| Access to the element the iterator points to. | |
| const MeshPointIterator & | operator++ (void) |
| const MeshPointIterator & | operator -- (void) |
| MeshPointIterator & | operator= (const MeshPointIterator &rpI) |
| Assignment. | |
| bool | operator< (const MeshPointIterator &rclI) const |
| Compares if this iterator points to a lower element than the other one. | |
| bool | operator > (const MeshPointIterator &rclI) const |
| Compares if this iterator points to a higher element than the other one. | |
| bool | operator== (const MeshPointIterator &rclI) const |
| Checks if the iterators points to the same element. | |
| void | Begin (void) |
| Sets the iterator to the beginning of the array. | |
| void | End (void) |
| Sets the iterator to the end of the array. | |
| unsigned long | Position (void) const |
| Returns the current position of the iterator in the array. | |
| bool | EndReached (void) const |
| Checks if the end is already reached. | |
| void | Init (void) |
| Sets the iterator to the beginning of the array. | |
| bool | More (void) const |
| Checks if the end is not yet reached. | |
| void | Next (void) |
| Increments the iterator. | |
| bool | Set (unsigned long ulIndex) |
| Sets the iterator to a given position. | |
| bool | IsValid (void) const |
| Checks if the iterator points to a valid element inside the array. | |
Flag state | |
| void | SetFlag (MeshPoint::TFlagType tF) const |
| void | ResetFlag (MeshPoint::TFlagType tF) const |
| bool | IsFlag (MeshPoint::TFlagType tF) const |
| void | SetProperty (unsigned long uP) const |
| const MeshPointIterator& MeshCore::MeshPointIterator::operator -- | ( | void | ) |
Decrements the iterator. It points then to the previous element if the beginning is not reached.
| const MeshPointIterator& MeshCore::MeshPointIterator::operator++ | ( | void | ) |
Increments the iterator. It points then to the next element if the end is not reached.
1.8.15