48 CU_ASSERT(rast1 != NULL);
53 CU_ASSERT(band1 != NULL);
61 CU_ASSERT_EQUAL(nodata, 0);
69 CU_ASSERT_NOT_EQUAL(result, 1);
83 CU_ASSERT(rast2 != NULL);
87 CU_ASSERT(band2 != NULL);
95 CU_ASSERT_EQUAL(nodata, 0);
103 CU_ASSERT_EQUAL(result, 1);
111 CU_ASSERT_EQUAL(result, 1);
132 CU_ASSERT_NOT_EQUAL(result, 1);
154 CU_ASSERT_EQUAL(result, 1);
177 CU_ASSERT_NOT_EQUAL(result, 1);
201 CU_ASSERT_NOT_EQUAL(result, 1);
227 CU_ASSERT_NOT_EQUAL(result, 1);
254 CU_ASSERT_NOT_EQUAL(result, 1);
275 CU_ASSERT_NOT_EQUAL(result, 1);
293 CU_ASSERT(rast2 != NULL);
297 CU_ASSERT(band2 != NULL);
310 CU_ASSERT_EQUAL(nodata, 0);
318 CU_ASSERT_EQUAL(result, 1);
351 CU_ASSERT_NOT_EQUAL(result, 1);
382 CU_ASSERT_EQUAL(result, 1);
413 CU_ASSERT_NOT_EQUAL(result, 1);
444 CU_ASSERT_NOT_EQUAL(result, 1);
451 CU_ASSERT(rast2 != NULL);
456 CU_ASSERT(band2 != NULL);
474 CU_ASSERT_EQUAL(result, 1);
485 CU_ASSERT_EQUAL(result, 1);
496 CU_ASSERT_EQUAL(result, 1);
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_raster_overlaps(rt_raster rast1, int nband1, rt_raster rast2, int nband2, int *overlaps)
Return ES_ERROR if error occurred in function.
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)