57 map->resampleFun = resampleFun;
75 *resampleFun = map->resampleFun;
void G3d_getValueRegion(G3D_Map *map, int x, int y, int z, void *value, int type)
Returns in *value the cell-value of the cell with region-coordinate (x, y, z). The value returned is ...
void G3d_getNearestNeighborFunPtr(void(**nnFunPtr)())
Returns in nnFunPtr a pointer to G3d_nearestNeighbor () (cf.{g3d:G3d.nearestNeighbor}).
void G3d_getResamplingFun(G3D_Map *map, void(**resampleFun)())
Returns in resampleFun a pointer to the resampling function used by map.
void G3d_setResamplingFun(G3D_Map *map, void(*resampleFun)())
Sets the resampling function to be used by G3d_getValue () (cf.{g3d:G3d.getValue}). This function is defined as follows:
void G3d_nearestNeighbor(G3D_Map *map, int row, int col, int depth, void *value, int type)
The default resampling function which uses nearest neighbor resampling.