4282 CU_ASSERT(rast1 != NULL);
4287 CU_ASSERT(band1 != NULL);
4295 CU_ASSERT_EQUAL(nodata, 0);
4309 CU_ASSERT(rast2 != NULL);
4313 CU_ASSERT(band2 != NULL);
4321 CU_ASSERT_EQUAL(nodata, 0);
4328 CU_ASSERT_EQUAL(rtn,
ES_NONE);
4329 CU_ASSERT_EQUAL(result, 1);
4336 CU_ASSERT_EQUAL(rtn,
ES_NONE);
4337 CU_ASSERT_EQUAL(result, 1);
4357 CU_ASSERT_EQUAL(rtn,
ES_NONE);
4358 CU_ASSERT_EQUAL(result, 1);
4379 CU_ASSERT_EQUAL(rtn,
ES_NONE);
4380 CU_ASSERT_EQUAL(result, 1);
4402 CU_ASSERT_EQUAL(rtn,
ES_NONE);
4403 CU_ASSERT_EQUAL(result, 1);
4426 CU_ASSERT_EQUAL(rtn,
ES_NONE);
4427 CU_ASSERT_NOT_EQUAL(result, 1);
4452 CU_ASSERT_EQUAL(rtn,
ES_NONE);
4453 CU_ASSERT_NOT_EQUAL(result, 1);
4479 CU_ASSERT_EQUAL(rtn,
ES_NONE);
4480 CU_ASSERT_EQUAL(result, 1);
4500 CU_ASSERT_EQUAL(rtn,
ES_NONE);
4501 CU_ASSERT_EQUAL(result, 1);
4519 CU_ASSERT(rast2 != NULL);
4523 CU_ASSERT(band2 != NULL);
4536 CU_ASSERT_EQUAL(nodata, 0);
4543 CU_ASSERT_EQUAL(rtn,
ES_NONE);
4544 CU_ASSERT_EQUAL(result, 1);
4576 CU_ASSERT_EQUAL(rtn,
ES_NONE);
4577 CU_ASSERT_EQUAL(result, 1);
4607 CU_ASSERT_EQUAL(rtn,
ES_NONE);
4608 CU_ASSERT_EQUAL(result, 1);
4638 CU_ASSERT_EQUAL(rtn,
ES_NONE);
4639 CU_ASSERT_EQUAL(result, 1);
4669 CU_ASSERT_EQUAL(rtn,
ES_NONE);
4670 CU_ASSERT_EQUAL(result, 1);
4677 CU_ASSERT(rast2 != NULL);
4682 CU_ASSERT(band2 != NULL);
4699 CU_ASSERT_EQUAL(rtn,
ES_NONE);
4700 CU_ASSERT_EQUAL(result, 1);
4710 CU_ASSERT_EQUAL(rtn,
ES_NONE);
4711 CU_ASSERT_EQUAL(result, 1);
4721 CU_ASSERT_EQUAL(rtn,
ES_NONE);
4722 CU_ASSERT_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_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)
rt_errorstate rt_raster_intersects(rt_raster rast1, int nband1, rt_raster rast2, int nband2, int *intersects)
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_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.