Polyline Gaps

For #2136.

CC @shunter @mramato 
Perhaps these should be named `equalsEpsilonRelativeOrAbsolute`?  since it's an either/or thing.