advanceToNextSegment

Advance to the next segment.

Use after finishing a segment to continue to the next one. Returns false if already at the last segment.

Return

True if advanced, false if at end