moves the iterator ahead to the next vertex and possibly linear component . concode_field_sep int vertexIndex concode_elem_sep Geometry linearGeom concode_elem_sep int numLines concode_elem_sep int componentIndex concode_elem_sep LineString currentLine concode_field_sep boolean isEndOfLine concode_elem_sep int segmentEndVertexIndex concode_elem_sep Coordinate getSegmentEnd concode_elem_sep void loadCurrentLine concode_elem_sep int getComponentIndex concode_elem_sep int getVertexIndex concode_elem_sep LineString getLine concode_elem_sep boolean hasNext concode_elem_sep Coordinate getSegmentStart
void function ( ) { if ( ! hasNext ( ) ) return ; vertexIndex ++ ; if ( vertexIndex >= currentLine . getNumPoints ( ) ) { componentIndex ++ ; loadCurrentLine ( ) ; vertexIndex = 0 ; } }