PostGIS  2.5.7dev-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 252 of file geography_measurement_trees.c.

257 {
258  return geography_distance_cache_tolerance(fcinfo, g1, g2, s, FP_TOLERANCE, distance);
259 }
char * s
Definition: cu_in_wkt.c:23
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)

References distance(), FP_TOLERANCE, geography_distance_cache_tolerance(), and s.

Referenced by geography_distance().

Here is the call graph for this function:
Here is the caller graph for this function: