Polyline Gaps

For #2136.

CC @shunter @mramato 
typo here: `EPAILON7`.  I'll fix and merge.