bool distance_sphere(const dd::Spatial_reference_system *srs, const Geometry *g1, const Geometry *g2, const char *func_name, double sphere_radius, double *result, bool *result_null) noexcept
Compute the approximate distance between two geometries by assuming the world is a sphere.
Definition: distance_sphere.cc:146