523 CU_ASSERT(rast1 != NULL);
528 CU_ASSERT(band1 != NULL);
536 CU_ASSERT_EQUAL(nodata, 0);
544 CU_ASSERT_NOT_EQUAL(result, 1);
558 CU_ASSERT(rast2 != NULL);
562 CU_ASSERT(band2 != NULL);
570 CU_ASSERT_EQUAL(nodata, 0);
578 CU_ASSERT_NOT_EQUAL(result, 1);
586 CU_ASSERT_NOT_EQUAL(result, 1);
607 CU_ASSERT_EQUAL(result, 1);
629 CU_ASSERT_NOT_EQUAL(result, 1);
652 CU_ASSERT_EQUAL(result, 1);
676 CU_ASSERT_NOT_EQUAL(result, 1);
702 CU_ASSERT_NOT_EQUAL(result, 1);
728 CU_ASSERT_EQUAL(result, 1);
754 CU_ASSERT_EQUAL(result, 1);
781 CU_ASSERT_NOT_EQUAL(result, 1);
802 CU_ASSERT_NOT_EQUAL(result, 1);
820 CU_ASSERT(rast2 != NULL);
824 CU_ASSERT(band2 != NULL);
837 CU_ASSERT_EQUAL(nodata, 0);
845 CU_ASSERT_NOT_EQUAL(result, 1);
878 CU_ASSERT_NOT_EQUAL(result, 1);
909 CU_ASSERT_NOT_EQUAL(result, 1);
940 CU_ASSERT_EQUAL(result, 1);
971 CU_ASSERT_EQUAL(result, 1);
978 CU_ASSERT(rast2 != NULL);
983 CU_ASSERT(band2 != NULL);
1000 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1001 CU_ASSERT_NOT_EQUAL(result, 1);
1011 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1012 CU_ASSERT_NOT_EQUAL(result, 1);
1022 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1023 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_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_raster_touches(rt_raster rast1, int nband1, rt_raster rast2, int nband2, int *touches)
Return ES_ERROR if error occurred in function.
rt_errorstate rt_band_set_pixel(rt_band band, int x, int y, double val, int *converted)
Set single pixel's value.