MeshLib Documentation
Loading...
Searching...
No Matches
MR::RingIterator< N > Class Template Reference

#include <MRRingIterator.h>

+ Inheritance diagram for MR::RingIterator< N >:

Public Types

using iterator_category = std::forward_iterator_tag
 
using value_type = EdgeId
 
using difference_type = std::ptrdiff_t
 

Public Member Functions

 RingIterator (const MeshTopology &topology, EdgeId edge, bool first)
 
RingIteratoroperator++ ()
 
EdgeId operator* () const
 
bool first () const
 

Member Typedef Documentation

◆ difference_type

template<typename N >
using MR::RingIterator< N >::difference_type = std::ptrdiff_t

◆ iterator_category

template<typename N >
using MR::RingIterator< N >::iterator_category = std::forward_iterator_tag

◆ value_type

template<typename N >
using MR::RingIterator< N >::value_type = EdgeId

Constructor & Destructor Documentation

◆ RingIterator()

template<typename N >
MR::RingIterator< N >::RingIterator ( const MeshTopology & topology,
EdgeId edge,
bool first )
inline

Member Function Documentation

◆ first()

template<typename N >
bool MR::RingIterator< N >::first ( ) const
inline

◆ operator*()

template<typename N >
EdgeId MR::RingIterator< N >::operator* ( ) const
inline

◆ operator++()

template<typename N >
RingIterator & MR::RingIterator< N >::operator++ ( )
inline

The documentation for this class was generated from the following file: