PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ rect_tree_node_sort_cmp()

static int rect_tree_node_sort_cmp ( const void *  a,
const void *  b 
)
static

Definition at line 1226 of file lwtree.c.

1227 {
1228  RECT_NODE *n1 = *(RECT_NODE**)a;
1229  RECT_NODE *n2 = *(RECT_NODE**)b;
1230  if (n1->d < n2->d) return -1;
1231  else if (n1->d > n2->d) return 1;
1232  else return 0;
1233 }
double d
Definition: lwtree.h:73

References rect_node::d.

Referenced by rect_tree_node_sort().

Here is the caller graph for this function: