PostGIS  2.5.0dev-r@@SVN_REVISION@@

◆ struct_cmp_by_measure()

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

Definition at line 2060 of file measures.c.

References LISTSTRUCT::themeasure.

Referenced by lw_dist2d_fast_ptarray_ptarray().

2061 {
2062  LISTSTRUCT *ia = (LISTSTRUCT*)a;
2063  LISTSTRUCT *ib = (LISTSTRUCT*)b;
2064  return ( ia->themeasure>ib->themeasure ) ? 1 : -1;
2065 }
double themeasure
Definition: measures.h:58
Here is the caller graph for this function: