PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ geography_distance_cache()

int geography_distance_cache ( FunctionCallInfo  fcinfo,
const GSERIALIZED g1,
const GSERIALIZED g2,
const SPHEROID s,
double *  distance 
)

Definition at line 257 of file geography_measurement_trees.c.

References FP_TOLERANCE, and geography_distance_cache_tolerance().

Referenced by geography_distance().

262 {
263  return geography_distance_cache_tolerance(fcinfo, g1, g2, s, FP_TOLERANCE, distance);
264 }
static int geography_distance_cache_tolerance(FunctionCallInfo fcinfo, const GSERIALIZED *g1, const GSERIALIZED *g2, const SPHEROID *s, double tolerance, double *distance)
#define FP_TOLERANCE
Floating point comparators.
Datum distance(PG_FUNCTION_ARGS)
Here is the call graph for this function:
Here is the caller graph for this function: