PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ compareDoubles()

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

Definition at line 135 of file gserialized_spgist_3d.c.

136 {
137  double x = *(double *)a;
138  double y = *(double *)b;
139 
140  if (x == y)
141  return 0;
142  return (x > y) ? 1 : -1;
143 }

References pixval::x, and pixval::y.

Referenced by gserialized_spgist_picksplit_3d().

Here is the caller graph for this function: