I decided to change the signature. Instead of point objects one must pass the raw longitudes and latitudes. This is more generic.