96 void updateSizeAndState();
120 : m_begin( begin ), m_end( end ), m_size( 0u )
122 updateSizeAndState();
129 : m_begin( begin ), m_end( m_begin.m_index, false, *m_begin.m_segments ), m_size( 0u )
137 m_end.m_index += numSegments;
138 if ( m_end.m_index > m_end.m_segments->size() )
139 m_end.m_index = m_end.modSize( m_end.m_index, *m_end.m_segments );
141 updateSizeAndState();
156 this->m_begin = other.m_begin;
157 this->m_end = other.m_end;
158 this->m_size = other.m_size;
211 return m_size == 0ul;
218 agxAssert( m_begin.m_segments->empty() || m_begin.m_index != m_begin.m_segments->size() );
220 m_size = std::distance( m_begin, m_end );
224 m_begin.setBoundarylessGivenEndOfRange( m_end );
225 m_end.m_boundaryless = m_begin.m_boundaryless;
Segment range object for linked structure.
T * operator[](agx::UInt rangeIndex) const
agxSDK::LinkedSegmentIterator< T > end() const
LinkedSegmentRange()
Create an empty range.
static LinkedSegmentIterator incremented(const LinkedSegmentIterator &it, agx::UInt numSegments)
agxSDK::LinkedSegmentIterator< T > begin() const
Optionally unbounded linked structure segment iterator object to iterate segments in a SegmentStructu...
agxSDK::LinkedSegmentRange< T > & operator=(const agxSDK::LinkedSegmentRange< T > &other)
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()