Add in ContourSegment typedef for pair of Coordinates.  Pass this to generic intercept functions