This function is only one line now.  Do we still need it?  Actually, the whole segment management in `PolylineCollection.js` could use some work.  However, we can hold off if we think there are bigger changes to come with the material improvements.