PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
rt_errorstate rt_raster_fully_within_distance | ( | rt_raster | rast1, |
int | nband1, | ||
rt_raster | rast2, | ||
int | nband2, | ||
double | distance, | ||
int * | dfwithin | ||
) |
Return ES_ERROR if error occurred in function.
Parameter dfwithin returns non-zero if rast1 is fully within the specified distance of rast2
rast1 | : the first raster whose band will be tested |
nband1 | : the 0-based band of raster rast1 to use if value is less than zero, bands are ignored. if nband1 gte zero, nband2 must be gte zero |
rast2 | : the second raster whose band will be tested |
nband2 | : the 0-based band of raster rast2 to use if value is less than zero, bands are ignored if nband2 gte zero, nband1 must be gte zero |
dfwithin | : non-zero value if rast1 is fully within the specified distance of rast2 |
Definition at line 555 of file rt_spatial_relationship.c.
References ES_ERROR, ES_NONE, FLT_EQ, lwgeom_free(), lwgeom_maxdistance2d_tolerance(), lwmpoly_as_lwgeom(), RASTER_DEBUG, RASTER_DEBUGF, rt_raster_get_num_bands(), rt_raster_get_srid(), rt_raster_surface(), and rterror().
Referenced by RASTER_dfullywithin(), and test_raster_fully_within_distance().