PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ rt_classpair_cmp()

static int rt_classpair_cmp ( const void *  aptr,
const void *  bptr 
)
static

Definition at line 267 of file rt_mapalgebra.c.

268{
269 struct rt_classpair_t *a = (struct rt_classpair_t*)aptr;
270 struct rt_classpair_t *b = (struct rt_classpair_t*)bptr;
271 if (a->src < b->src) return -1;
272 else if (a->src > b->src) return 1;
273 else return 0;
274}

References rt_classpair_t::src.

Referenced by rt_band_reclass_exact().

Here is the caller graph for this function: