RouteMixed.trim_pts#

RouteMixed.trim_pts()#

Crops the sequence of points to concatenate.

For example, if a segment between two anchors has no points, then the segment is eliminated (only anchor points will do). Modified directly the self.intermediate_pts, thus nothing is returned.