PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ lw_dist2d_comp()

int lw_dist2d_comp ( const LWGEOM lw1,
const LWGEOM lw2,

This function just deserializes geometries Bboxes is not checked here since it is the subgeometries bboxes we will use anyway.

Definition at line 245 of file measures.c.

246 {
247  LWDEBUG(2, "lw_dist2d_comp is called");
249  return lw_dist2d_recursive(lw1, lw2, dl);
250 }
#define LWDEBUG(level, msg)
Definition: lwgeom_log.h:83
int lw_dist2d_recursive(const LWGEOM *lwg1, const LWGEOM *lwg2, DISTPTS *dl)
This is a recursive function delivering every possible combination of subgeometries.
Definition: measures.c:277

References lw_dist2d_recursive(), and LWDEBUG.

Referenced by lw_dist2d_distanceline(), lw_dist2d_distancepoint(), lw_dist3d_distanceline(), lw_dist3d_distancepoint(), lwgeom_maxdistance2d_tolerance(), and lwgeom_mindistance2d_tolerance().

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