PostGIS  2.5.0beta2dev-r@@SVN_REVISION@@

◆ lw_dist2d_comp()

int lw_dist2d_comp ( const LWGEOM lw1,
const LWGEOM lw2,
DISTPTS dl 
)

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.

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().

246 {
247  LWDEBUG(2, "lw_dist2d_comp is called");
248 
249  return lw_dist2d_recursive(lw1, lw2, dl);
250 }
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
#define LWDEBUG(level, msg)
Definition: lwgeom_log.h:83
Here is the call graph for this function:
Here is the caller graph for this function: