We have to check for overlapping bboxes.
Definition at line 498 of file measures.c.
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().
500 LWDEBUG(2,
"lw_dist2d_check_overlap is called");
510 LWDEBUG(3,
"geometries bboxes did not overlap");
513 LWDEBUG(3,
"geometries bboxes overlap");
#define LWDEBUG(level, msg)
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.