PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ struct_cmp_by_measure()

int struct_cmp_by_measure ( const void *  a,
const void *  b 
)

Definition at line 2150 of file measures.c.

2151 {
2152  LISTSTRUCT *ia = (LISTSTRUCT *)a;
2153  LISTSTRUCT *ib = (LISTSTRUCT *)b;
2154  return (ia->themeasure > ib->themeasure) ? 1 : ((ia->themeasure < ib->themeasure) ? -1 : 0);
2155 }
double themeasure
Definition: measures.h:61

References LISTSTRUCT::themeasure.

Referenced by lw_dist2d_fast_ptarray_ptarray().

Here is the caller graph for this function: