PostGIS
3.4.0dev-r@@SVN_REVISION@@
|
rt_errorstate rt_band_get_pixel_bilinear | ( | rt_band | band, |
double | xr, | ||
double | yr, | ||
double * | r_value, | ||
int * | r_nodata | ||
) |
Retrieve a point value from the raster using a world coordinate and bilinear interpolation.
band | : the band to read for values |
xr | : x unrounded raster coordinate |
yr | : y unrounded raster coordinate |
r_value | : return pointer for point value |
r_nodata | : return pointer for if this is a nodata |
rast | : the raster to read for values |
bandnum | : the band to read for the values |
xw | : x world coordinate in |
yw | : y world coordinate in |
r_value | : return pointer for point value |
r_nodata | : return pointer for if this is a nodata |
Definition at line 1260 of file rt_band.c.
References ovdump::band, ES_ERROR, ES_NONE, FALSE, rt_band_get_hasnodata_flag(), rt_band_get_height(), rt_band_get_nodata(), rt_band_get_pixel(), rt_band_get_width(), rtwarn(), genraster::value, pixval::x, and pixval::y.
Referenced by rt_band_get_pixel_resample(), and test_raster_get_pixel_bilinear().