code: public void setGeometries(Geometry[] geometries) {
  		List<Coordinate> coordinates = getCoordinates(geometries);
  		sortedX = sortX(coordinates);
  		sortedY = sortY(coordinates);
  	}
docs: Set the full list of target geometries. These are the geometries where to this snapping algorithm can snap.
  
  @param geometries The list of target geometries.