public void resetToPath ( int pathIndex ) { if ( pathIndex < 0 ) throw new IndexOutOfBoundsException ( ) ; m_nextPathIndex = pathIndex ; m_currentPathIndex = - 1 ; m_currentSegmentIndex = - 1 ; m_nextSegmentIndex = - 1 ; m_segmentCount = - 1 ; m_pathBegin = - 1 ; }
Resets the iterator such that the subsequent call to the NextPath will set the iterator to the first segment of the given path . The call to PreviousPath will reset the iterator to the last segment of path pathIndex - 1 .