Check if the current position is at the end of the segment.
Definition at line 227 of file RegionSegment.hpp.