PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ lwgeom_closest_point_3d()

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

Definition at line 100 of file measures3d.c.

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

Referenced by LWGEOM_closestpoint3d().

101 {
102  return lw_dist3d_distancepoint(lw1, lw2, lw1->srid, DIST_MIN);
103 }
int32_t srid
Definition: liblwgeom.h:399
#define DIST_MIN
Definition: measures.h:44
LWGEOM * lw_dist3d_distancepoint(const LWGEOM *lw1, const LWGEOM *lw2, int srid, int mode)
Function initializing 3dclosestpoint calculations.
Definition: measures3d.c:214
Here is the call graph for this function:
Here is the caller graph for this function: