Merge abscissa values if the ordinate value is in a list of centroids
object containing 2 properties x and y
centroids
options
merged points
Merge abscissa values if the ordinate value is in a list of centroids