3720 CU_ASSERT(rast1 != NULL);
3725 CU_ASSERT(band1 != NULL);
3733 CU_ASSERT_EQUAL(nodata, 0);
3741 CU_ASSERT_EQUAL(rtn,
ES_NONE);
3742 CU_ASSERT_NOT_EQUAL(result, 1);
3750 CU_ASSERT_NOT_EQUAL(rtn,
ES_NONE);
3764 CU_ASSERT(rast2 != NULL);
3768 CU_ASSERT(band2 != NULL);
3776 CU_ASSERT_EQUAL(nodata, 0);
3784 CU_ASSERT_EQUAL(rtn,
ES_NONE);
3785 CU_ASSERT_NOT_EQUAL(result, 1);
3793 CU_ASSERT_EQUAL(rtn,
ES_NONE);
3794 CU_ASSERT_NOT_EQUAL(result, 1);
3802 CU_ASSERT_EQUAL(rtn,
ES_NONE);
3803 CU_ASSERT_EQUAL(result, 1);
3824 CU_ASSERT_EQUAL(rtn,
ES_NONE);
3825 CU_ASSERT_NOT_EQUAL(result, 1);
3847 CU_ASSERT_EQUAL(rtn,
ES_NONE);
3848 CU_ASSERT_EQUAL(result, 1);
3871 CU_ASSERT_EQUAL(rtn,
ES_NONE);
3872 CU_ASSERT_EQUAL(result, 1);
3896 CU_ASSERT_EQUAL(rtn,
ES_NONE);
3897 CU_ASSERT_NOT_EQUAL(result, 1);
3923 CU_ASSERT_EQUAL(rtn,
ES_NONE);
3924 CU_ASSERT_NOT_EQUAL(result, 1);
3932 CU_ASSERT_EQUAL(rtn,
ES_NONE);
3933 CU_ASSERT_EQUAL(result, 1);
3960 CU_ASSERT_EQUAL(rtn,
ES_NONE);
3961 CU_ASSERT_EQUAL(result, 1);
3982 CU_ASSERT_EQUAL(rtn,
ES_NONE);
3983 CU_ASSERT_NOT_EQUAL(result, 1);
4001 CU_ASSERT(rast2 != NULL);
4005 CU_ASSERT(band2 != NULL);
4018 CU_ASSERT_EQUAL(nodata, 0);
4026 CU_ASSERT_EQUAL(rtn,
ES_NONE);
4027 CU_ASSERT_EQUAL(result, 1);
4060 CU_ASSERT_EQUAL(rtn,
ES_NONE);
4061 CU_ASSERT_EQUAL(result, 1);
4092 CU_ASSERT_EQUAL(rtn,
ES_NONE);
4093 CU_ASSERT_NOT_EQUAL(result, 1);
4124 CU_ASSERT_EQUAL(rtn,
ES_NONE);
4125 CU_ASSERT_EQUAL(result, 1);
4156 CU_ASSERT_EQUAL(rtn,
ES_NONE);
4157 CU_ASSERT_NOT_EQUAL(result, 1);
4190 CU_ASSERT_EQUAL(rtn,
ES_NONE);
4191 CU_ASSERT_NOT_EQUAL(result, 1);
4199 CU_ASSERT_EQUAL(rtn,
ES_NONE);
4200 CU_ASSERT_EQUAL(result, 1);
4207 CU_ASSERT(rast2 != NULL);
4212 CU_ASSERT(band2 != NULL);
4230 CU_ASSERT_EQUAL(rtn,
ES_NONE);
4231 CU_ASSERT_EQUAL(result, 1);
4242 CU_ASSERT_EQUAL(rtn,
ES_NONE);
4243 CU_ASSERT_EQUAL(result, 1);
4254 CU_ASSERT_EQUAL(rtn,
ES_NONE);
4255 CU_ASSERT_EQUAL(result, 1);
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.
void rt_raster_set_scale(rt_raster raster, double scaleX, double scaleY)
Set scale in projection units.
void rt_raster_set_skews(rt_raster raster, double skewX, double skewY)
Set skews about the X and Y axis.
rt_raster rt_raster_new(uint32_t width, uint32_t height)
Construct a raster with given dimensions.
rt_errorstate rt_band_set_nodata(rt_band band, double val, int *converted)
Set nodata value.
rt_errorstate rt_band_set_pixel(rt_band band, int x, int y, double val, int *converted)
Set single pixel's value.
rt_errorstate rt_band_get_nodata(rt_band band, double *nodata)
Get NODATA value.
void rt_raster_set_offsets(rt_raster raster, double x, double y)
Set insertion points in projection units.
rt_band cu_add_band(rt_raster raster, rt_pixtype pixtype, int hasnodata, double nodataval)
void cu_free_raster(rt_raster raster)