Edge iterator class.
More...
#include <EBGeometry_DCEL_Iterator.hpp>
|
| EdgeIteratorT ()=delete |
| Default construction is not allowed. Use one of the full constructors.
|
|
| EdgeIteratorT (Face &a_face) |
| Constructor, taking a face as argument. The iterator begins at the half-edge pointer contained in the face. More...
|
|
| EdgeIteratorT (const Face &a_face) |
| Constructor, taking a face as argument. The iterator begins at the half-edge pointer contained in the face. More...
|
|
virtual | ~EdgeIteratorT ()=default |
| Destructor.
|
|
EdgePtr & | operator() () noexcept |
| Operator returning a pointer to the current half-edge.
|
|
const EdgePtr & | operator() () const noexcept |
| Operator returning a pointer to the current half-edge.
|
|
void | reset () noexcept |
| Reset function for the iterator. This resets the iterator so that it begins from the starting half-edge.
|
|
void | operator++ () noexcept |
| Incrementation operator, bringing the iterator to the next half-edge.
|
|
bool | ok () const noexcept |
| Function which checks if the iteration can be continued. More...
|
|
template<class T, class Meta>
class DCEL::EdgeIteratorT< T, Meta >
Edge iterator class.
Class which makes it easier to iterate through DCEL edges.
◆ EdgeIteratorT() [1/2]
template<class T , class Meta >
Constructor, taking a face as argument. The iterator begins at the half-edge pointer contained in the face.
- Parameters
-
[in] | a_face | DCEL polygon face |
- Note
- This constructor will will iterate through the half-edges in the polygon face.
◆ EdgeIteratorT() [2/2]
template<class T , class Meta >
Constructor, taking a face as argument. The iterator begins at the half-edge pointer contained in the face.
- Parameters
-
[in] | a_face | DCEL polygon face |
- Note
- This constructor will will iterate through the half-edges in the polygon face.
◆ ok()
template<class T , class Meta >
Function which checks if the iteration can be continued.
- Returns
- Returns true unless the current half-edge is a nullptr (i.e., a broken polygon face) OR a full loop has been made around the polygon face (i.e. all half-edges have been visited)
The documentation for this class was generated from the following files: