PostGIS  2.3.7dev-r@@SVN_REVISION@@
LWGEOM* lwgeom_closest_point ( const LWGEOM lw1,
const LWGEOM lw2 
)

Definition at line 54 of file measures.c.

References DIST_MIN, lw_dist2d_distancepoint(), and LWGEOM::srid.

Referenced by LWGEOM_closestpoint(), and lwt_AddPoint().

55 {
56  return lw_dist2d_distancepoint(lw1, lw2, lw1->srid, DIST_MIN);
57 }
LWGEOM * lw_dist2d_distancepoint(const LWGEOM *lw1, const LWGEOM *lw2, int srid, int mode)
Function initializing closestpoint calculations.
Definition: measures.c:131
int32_t srid
Definition: liblwgeom.h:398
#define DIST_MIN
Definition: measures.h:41

Here is the call graph for this function:

Here is the caller graph for this function: