PostGIS  2.5.1dev-r@@SVN_REVISION@@

◆ circ_nodes_sort_cmp()

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

Definition at line 615 of file lwgeodetic_tree.c.

References sort_node::d.

Referenced by circ_internal_nodes_sort().

616 {
617  struct sort_node *node_a = (struct sort_node *)(a);
618  struct sort_node *node_b = (struct sort_node *)(b);
619  if (node_a->d < node_b->d) return -1;
620  else if (node_a->d > node_b->d) return 1;
621  else return 0;
622 }
Here is the caller graph for this function: