24 void *value,
int type)
26 double north, east, top;
31 (
double)z + 0.5, &north, &east, &top);
void Rast3d_location2coord(RASTER3D_Region *, double, double, double, int *, int *, int *)
Converts region-coordinates (north, east, top) into cell-coordinates (x, y, z).
void Rast3d_get_value_region(RASTER3D_Map *, int, int, int, void *, int)
Returns in *value the cell-value of the cell with region-coordinate (x, y, z). The value returned is ...
void Rast3d_coord2location(RASTER3D_Region *, double, double, double, double *, double *, double *)
Converts cell-coordinates (x, y, z) into region-coordinates (north, east, top).
void Rast3d_set_resampling_fun(RASTER3D_Map *map, void(*resampleFun)(RASTER3D_Map *, int, int, int, void *, int))
Sets the resampling function to be used by Rast3d_get_value () (cf.{g3d:G3d.getValue})....
void Rast3d_get_nearest_neighbor_fun_ptr(void(**nnFunPtr)(RASTER3D_Map *, int, int, int, void *, int))
Returns in nnFunPtr a pointer to Rast3d_nearest_neighbor () (cf.{g3d:G3d.nearestNeighbor}).
void Rast3d_nearest_neighbor(RASTER3D_Map *map, int x, int y, int z, void *value, int type)
The default resampling function which uses nearest neighbor resampling. This method converts the wind...
void Rast3d_get_resampling_fun(RASTER3D_Map *map, void(**resampleFun)(RASTER3D_Map *, int, int, int, void *, int))
Returns in resampleFun a pointer to the resampling function used by map.
resample_fn * resampleFun