[GRASS-dev] Rast_set_c_value question

Rashad M mohammedrashadkm at gmail.com
Mon Mar 25 06:42:41 PDT 2013


Does `Rast_set_c_value` set value of all cells in raster or individual cell?

I have a code:

s = Rast_cell_size(CELL_TYPE)

Rast_set_c_value(outptr[i], int(tmpcell), CELL_TYPE)

outptr[i] = G_incr_void_ptr(outptr[i], s)

can anybody explain what this does?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20130325/4c3eef7f/attachment.html>

More information about the grass-dev mailing list