PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ circ_nodes_sort_cmp()

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

Definition at line 643 of file lwgeodetic_tree.c.

644 {
645  struct sort_node *node_a = (struct sort_node *)(a);
646  struct sort_node *node_b = (struct sort_node *)(b);
647  if (node_a->d < node_b->d) return -1;
648  else if (node_a->d > node_b->d) return 1;
649  else return 0;
650 }

References sort_node::d.

Referenced by circ_internal_nodes_sort().

Here is the caller graph for this function: