1577 CU_ASSERT(rast1 != NULL);
1582 CU_ASSERT(band1 != NULL);
1590 CU_ASSERT_EQUAL(nodata, 0);
1597 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1598 CU_ASSERT_NOT_EQUAL(result, 1);
1612 CU_ASSERT(rast2 != NULL);
1616 CU_ASSERT(band2 != NULL);
1624 CU_ASSERT_EQUAL(nodata, 0);
1631 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1632 CU_ASSERT_NOT_EQUAL(result, 1);
1639 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1640 CU_ASSERT_NOT_EQUAL(result, 1);
1660 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1661 CU_ASSERT_NOT_EQUAL(result, 1);
1682 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1683 CU_ASSERT_NOT_EQUAL(result, 1);
1705 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1706 CU_ASSERT_NOT_EQUAL(result, 1);
1729 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1730 CU_ASSERT_NOT_EQUAL(result, 1);
1755 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1756 CU_ASSERT_NOT_EQUAL(result, 1);
1781 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1782 CU_ASSERT_NOT_EQUAL(result, 1);
1807 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1808 CU_ASSERT_NOT_EQUAL(result, 1);
1834 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1835 CU_ASSERT_EQUAL(result, 1);
1855 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1856 CU_ASSERT_EQUAL(result, 1);
1874 CU_ASSERT(rast2 != NULL);
1878 CU_ASSERT(band2 != NULL);
1891 CU_ASSERT_EQUAL(nodata, 0);
1898 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1899 CU_ASSERT_NOT_EQUAL(result, 1);
1931 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1932 CU_ASSERT_NOT_EQUAL(result, 1);
1962 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1963 CU_ASSERT_NOT_EQUAL(result, 1);
1993 CU_ASSERT_EQUAL(rtn,
ES_NONE);
1994 CU_ASSERT_NOT_EQUAL(result, 1);
2024 CU_ASSERT_EQUAL(rtn,
ES_NONE);
2025 CU_ASSERT_NOT_EQUAL(result, 1);
2032 CU_ASSERT(rast2 != NULL);
2037 CU_ASSERT(band2 != NULL);
2054 CU_ASSERT_EQUAL(rtn,
ES_NONE);
2055 CU_ASSERT_NOT_EQUAL(result, 1);
2065 CU_ASSERT_EQUAL(rtn,
ES_NONE);
2066 CU_ASSERT_NOT_EQUAL(result, 1);
2076 CU_ASSERT_EQUAL(rtn,
ES_NONE);
2077 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_band_set_pixel(rt_band band, int x, int y, double val, int *converted)
Set single pixel's value.
rt_errorstate rt_raster_contains_properly(rt_raster rast1, int nband1, rt_raster rast2, int nband2, int *contains)
Return ES_ERROR if error occurred in function.