PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ rtpg_clip_arg_init()

static rtpg_clip_arg rtpg_clip_arg_init ( void  )
static

Definition at line 2942 of file rtpg_mapalgebra.c.

2942  {
2943  rtpg_clip_arg arg = NULL;
2944 
2945  arg = palloc(sizeof(struct rtpg_clip_arg_t));
2946  if (arg == NULL) {
2947  elog(ERROR, "rtpg_clip_arg_init: Could not allocate memory for function arguments");
2948  return NULL;
2949  }
2950 
2951  arg->extenttype = ET_INTERSECTION;
2952  arg->raster = NULL;
2953  arg->mask = NULL;
2954  arg->numbands = 0;
2955  arg->band = NULL;
2956 
2957  return arg;
2958 }
@ ET_INTERSECTION
Definition: librtcore.h:203
rtpg_clip_band band
rt_extenttype extenttype

References rtpg_clip_arg_t::band, ET_INTERSECTION, rtpg_clip_arg_t::extenttype, rtpg_clip_arg_t::mask, rtpg_clip_arg_t::numbands, and rtpg_clip_arg_t::raster.

Referenced by RASTER_clip().

Here is the caller graph for this function: