We have to check for overlapping bboxes.
Definition at line 502 of file measures.c.
504 LWDEBUG(2,
"lw_dist2d_check_overlap is called");
514 LWDEBUG(3,
"geometries bboxes did not overlap");
517 LWDEBUG(3,
"geometries bboxes overlap");
int lwgeom_calculate_gbox(const LWGEOM *lwgeom, GBOX *gbox)
Calculate bounding box of a geometry, automatically taking into account whether it is cartesian or ge...
#define LW_TRUE
Return types for functions with status returns.
#define LWDEBUG(level, msg)
References LWGEOM::bbox, LW_FALSE, LW_TRUE, LWDEBUG, lwgeom_calculate_gbox(), GBOX::xmax, GBOX::xmin, GBOX::ymax, and GBOX::ymin.
Referenced by lw_dist2d_recursive().