PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ rect_node_intersects()

static int rect_node_intersects ( const RECT_NODE n1,
const RECT_NODE n2 
)
inlinestatic

Definition at line 907 of file lwtree.c.

908 {
909  if (n1->xmin > n2->xmax || n2->xmin > n1->xmax ||
910  n1->ymin > n2->ymax || n2->ymin > n1->ymax)
911  {
912  return 0;
913  }
914  else
915  {
916  return 1;
917  }
918 }
double ymin
Definition: lwtree.h:71
double xmax
Definition: lwtree.h:70
double ymax
Definition: lwtree.h:72
double xmin
Definition: lwtree.h:69

References rect_node::xmax, rect_node::xmin, rect_node::ymax, and rect_node::ymin.

Referenced by rect_tree_intersects_tree_recursive().

Here is the caller graph for this function: