Definition at line 531 of file cu_raster_geometry.c.
540 CU_ASSERT(
rast != NULL);
543 CU_ASSERT(
band != NULL);
545 for (
x = 0;
x < maxX;
x++) {
546 for (
y = 0;
y < maxY;
y++) {
570 CU_ASSERT(poly != NULL);
void lwpoly_free(LWPOLY *poly)
LWPOLY * rt_raster_pixel_as_polygon(rt_raster raster, int x, int y)
Get a raster pixel as a polygon.
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_band cu_add_band(rt_raster raster, rt_pixtype pixtype, int hasnodata, double nodataval)
void cu_free_raster(rt_raster raster)
References ovdump::band, cu_add_band(), cu_free_raster(), lwpoly_free(), PT_32BUI, rtpixdump::rast, rt_band_set_pixel(), rt_raster_new(), rt_raster_pixel_as_polygon(), pixval::x, and pixval::y.
Referenced by raster_geometry_suite_setup().