1050 CU_ASSERT(rast1 != NULL);
1055 CU_ASSERT(band1 != NULL);
1063 CU_ASSERT_EQUAL(nodata, 0);
1070 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1071 CU_ASSERT_EQUAL(result, 1);
1085 CU_ASSERT(rast2 != NULL);
1089 CU_ASSERT(band2 != NULL);
1097 CU_ASSERT_EQUAL(nodata, 0);
1104 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1105 CU_ASSERT_NOT_EQUAL(result, 1);
1112 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1113 CU_ASSERT_NOT_EQUAL(result, 1);
1133 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1134 CU_ASSERT_NOT_EQUAL(result, 1);
1155 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1156 CU_ASSERT_NOT_EQUAL(result, 1);
1178 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1179 CU_ASSERT_NOT_EQUAL(result, 1);
1202 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1203 CU_ASSERT_NOT_EQUAL(result, 1);
1228 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1229 CU_ASSERT_NOT_EQUAL(result, 1);
1254 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1255 CU_ASSERT_NOT_EQUAL(result, 1);
1280 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1281 CU_ASSERT_NOT_EQUAL(result, 1);
1307 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1308 CU_ASSERT_EQUAL(result, 1);
1328 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1329 CU_ASSERT_EQUAL(result, 1);
1347 CU_ASSERT(rast2 != NULL);
1351 CU_ASSERT(band2 != NULL);
1364 CU_ASSERT_EQUAL(nodata, 0);
1371 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1372 CU_ASSERT_NOT_EQUAL(result, 1);
1404 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1405 CU_ASSERT_NOT_EQUAL(result, 1);
1435 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1436 CU_ASSERT_NOT_EQUAL(result, 1);
1466 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1467 CU_ASSERT_NOT_EQUAL(result, 1);
1497 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1498 CU_ASSERT_NOT_EQUAL(result, 1);
1505 CU_ASSERT(rast2 != NULL);
1510 CU_ASSERT(band2 != NULL);
1527 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1528 CU_ASSERT_NOT_EQUAL(result, 1);
1538 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1539 CU_ASSERT_NOT_EQUAL(result, 1);
1549 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1550 CU_ASSERT_NOT_EQUAL(result, 1);
void rt_raster_set_skews(rt_raster raster, double skewX, double skewY)
Set skews about the X and Y axis.
rt_errorstate rt_raster_contains(rt_raster rast1, int nband1, rt_raster rast2, int nband2, int *contains)
Return ES_ERROR if error occurred in function.
rt_errorstate rt_band_set_nodata(rt_band band, double val, int *converted)
Set nodata value.
rt_errorstate rt_band_get_nodata(rt_band band, double *nodata)
Get NODATA value.
void cu_free_raster(rt_raster raster)
rt_band cu_add_band(rt_raster raster, rt_pixtype pixtype, int hasnodata, double nodataval)
void rt_raster_set_scale(rt_raster raster, double scaleX, double scaleY)
Set scale in projection units.
void rt_raster_set_offsets(rt_raster raster, double x, double y)
Set insertion points in projection units.
rt_raster rt_raster_new(uint32_t width, uint32_t height)
Construct a raster with given dimensions.
rt_errorstate rt_band_set_pixel(rt_band band, int x, int y, double val, int *converted)
Set single pixel's value.