PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ struct_cmp_by_measure()

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

Definition at line 2045 of file measures.c.

References LISTSTRUCT::themeasure.

Referenced by lw_dist2d_fast_ptarray_ptarray().

2046 {
2047  LISTSTRUCT *ia = (LISTSTRUCT*)a;
2048  LISTSTRUCT *ib = (LISTSTRUCT*)b;
2049  return
2050  (ia->themeasure > ib->themeasure) ? 1 : ((ia->themeasure < ib->themeasure) ? -1 : 0);
2051 }
double themeasure
Definition: measures.h:34
Here is the caller graph for this function: