PostGIS  2.1.10dev-r@@SVN_REVISION@@
static int grid_isNull ( const gridspec grid)
static

Definition at line 275 of file lwgeom_functions_analytic.c.

References gridspec_t::msize, gridspec_t::xsize, gridspec_t::ysize, and gridspec_t::zsize.

Referenced by LWGEOM_snaptogrid(), and LWGEOM_snaptogrid_pointoff().

276 {
277  if ( grid->xsize==0 &&
278  grid->ysize==0 &&
279  grid->zsize==0 &&
280  grid->msize==0 ) return 1;
281  else return 0;
282 }

Here is the caller graph for this function: