PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ circ_nodes_sort_cmp()

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

Definition at line 628 of file lwgeodetic_tree.c.

629 {
630  struct sort_node *node_a = (struct sort_node *)(a);
631  struct sort_node *node_b = (struct sort_node *)(b);
632  if (node_a->d < node_b->d) return -1;
633  else if (node_a->d > node_b->d) return 1;
634  else return 0;
635 }

References sort_node::d.

Referenced by circ_internal_nodes_sort().

Here is the caller graph for this function: