[GRASSLIST:895] CELL, FCELL, DCELL type...
Massimiliano Cannata
massimiliano.cannata at ist.supsi.ch
Mon Aug 4 02:52:33 EDT 2003
I'm trying write a code that use a raster to make
calulation....
so I get the raster cell value (CELL, FCELL, DCELL
depending on the original map) and then i have to
use the math.h function
double pow(double,double)
so, how do I have to cast CELL, FCELL or DCELL to
double?
It seems that
double x;
x = (double) CELL
doesn't work...
more, I have to really do this casting?
Thanks.
--
-------------
Ing. Massimiliano Cannata
Istituto di Scienze della Terra - SUPSI
C.P. 72 - CH-6952 Canobbio (Ticino, Switzerland)
Tel +41 91 /935 12 25 - Fax +41 91 /935 12 09
eMail: massimiliano.cannata at ist.supsi.ch
Internet: http://www.ist.supsi.ch
More information about the grass-user
mailing list