PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ lwgeom_closest_point()

LWGEOM* lwgeom_closest_point ( const LWGEOM lw1,
const LWGEOM lw2 
)

Definition at line 55 of file measures.c.

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

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

Referenced by _lwt_SplitAllEdgesToNewNode(), and LWGEOM_closestpoint().

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