Function gaiaGeomCollDistance_r

Source
pub unsafe extern "C" fn gaiaGeomCollDistance_r(
    p_cache: *const c_void,
    geom1: gaiaGeomCollPtr,
    geom2: gaiaGeomCollPtr,
    dist: *mut f64,
) -> c_int
Expand description

Calculates the maximum distance intercurring between two Geometry objects

\param p_cache a memory pointer returned by spatialite_alloc_connection() \param geom1 the first Geometry object \param geom2 the second Geometry object \param dist on completion this variable will contain the calculated distance

\return 0 on failure: any other value on success.

\sa gaiaGeomCollDistance, gaia3DDistance, gaiaMaxDistance, gaia3DMaxDistance

\note this function always computes the 2D cartesian distance.\n reentrant and thread-safe.

\remark \b GEOS support required.