2104 CU_ASSERT(rast1 != NULL);
2109 CU_ASSERT(band1 != NULL);
2117 CU_ASSERT_EQUAL(nodata, 0);
2124 CU_ASSERT_EQUAL(rtn,
ES_NONE);
2125 CU_ASSERT_EQUAL(result, 1);
2139 CU_ASSERT(rast2 != NULL);
2143 CU_ASSERT(band2 != NULL);
2151 CU_ASSERT_EQUAL(nodata, 0);
2158 CU_ASSERT_EQUAL(rtn,
ES_NONE);
2159 CU_ASSERT_NOT_EQUAL(result, 1);
2166 CU_ASSERT_EQUAL(rtn,
ES_NONE);
2167 CU_ASSERT_NOT_EQUAL(result, 1);
2187 CU_ASSERT_EQUAL(rtn,
ES_NONE);
2188 CU_ASSERT_NOT_EQUAL(result, 1);
2209 CU_ASSERT_EQUAL(rtn,
ES_NONE);
2210 CU_ASSERT_NOT_EQUAL(result, 1);
2232 CU_ASSERT_EQUAL(rtn,
ES_NONE);
2233 CU_ASSERT_NOT_EQUAL(result, 1);
2256 CU_ASSERT_EQUAL(rtn,
ES_NONE);
2257 CU_ASSERT_NOT_EQUAL(result, 1);
2282 CU_ASSERT_EQUAL(rtn,
ES_NONE);
2283 CU_ASSERT_NOT_EQUAL(result, 1);
2308 CU_ASSERT_EQUAL(rtn,
ES_NONE);
2309 CU_ASSERT_NOT_EQUAL(result, 1);
2334 CU_ASSERT_EQUAL(rtn,
ES_NONE);
2335 CU_ASSERT_NOT_EQUAL(result, 1);
2361 CU_ASSERT_EQUAL(rtn,
ES_NONE);
2362 CU_ASSERT_EQUAL(result, 1);
2382 CU_ASSERT_EQUAL(rtn,
ES_NONE);
2383 CU_ASSERT_EQUAL(result, 1);
2401 CU_ASSERT(rast2 != NULL);
2405 CU_ASSERT(band2 != NULL);
2418 CU_ASSERT_EQUAL(nodata, 0);
2425 CU_ASSERT_EQUAL(rtn,
ES_NONE);
2426 CU_ASSERT_NOT_EQUAL(result, 1);
2458 CU_ASSERT_EQUAL(rtn,
ES_NONE);
2459 CU_ASSERT_NOT_EQUAL(result, 1);
2489 CU_ASSERT_EQUAL(rtn,
ES_NONE);
2490 CU_ASSERT_NOT_EQUAL(result, 1);
2520 CU_ASSERT_EQUAL(rtn,
ES_NONE);
2521 CU_ASSERT_NOT_EQUAL(result, 1);
2551 CU_ASSERT_EQUAL(rtn,
ES_NONE);
2552 CU_ASSERT_NOT_EQUAL(result, 1);
2559 CU_ASSERT(rast2 != NULL);
2564 CU_ASSERT(band2 != NULL);
2581 CU_ASSERT_EQUAL(rtn,
ES_NONE);
2582 CU_ASSERT_NOT_EQUAL(result, 1);
2592 CU_ASSERT_EQUAL(rtn,
ES_NONE);
2593 CU_ASSERT_NOT_EQUAL(result, 1);
2603 CU_ASSERT_EQUAL(rtn,
ES_NONE);
2604 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_covers(rt_raster rast1, int nband1, rt_raster rast2, int nband2, int *covers)
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.