PostGIS  2.3.8dev-r@@SVN_REVISION@@

◆ lwgeom_closest_line()

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

Definition at line 42 of file measures.c.

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

Referenced by gserialized_distance_nd(), and LWGEOM_shortestline2d().

43 {
44  return lw_dist2d_distanceline(lw1, lw2, lw1->srid, DIST_MIN);
45 }
int32_t srid
Definition: liblwgeom.h:398
LWGEOM * lw_dist2d_distanceline(const LWGEOM *lw1, const LWGEOM *lw2, int srid, int mode)
Function initializing shortestline and longestline calculations.
Definition: measures.c:84
#define DIST_MIN
Definition: measures.h:41
Here is the call graph for this function:
Here is the caller graph for this function: