GRASS Programmer's Manual
6.4.3(2013)-r
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Macros
Pages
g3dresample.c
Go to the documentation of this file.
1
#include <stdio.h>
2
#include <grass/gis.h>
3
#include "
G3d_intern.h
"
4
5
/*--------------------------------------------------------------------------*/
6
7
23
void
24
G3d_nearestNeighbor
(G3D_Map * map,
int
row,
int
col,
int
depth,
void
*
value
,
25
int
type
)
26
{
27
28
/*AV*/
29
/* BEGIN OF ORIGINAL CODE */
30
/*
31
G3d_getValueRegion (map, row, col, depth, value, type);
32
*/
33
/* END OF ORIGINAL CODE */
34
/*AV*/
35
/* BEGIN OF MY CODE */
36
G3d_getValueRegion
(map, col, row, depth, value, type);
37
/* END OF MY CODE */
38
39
40
}
41
42
/*--------------------------------------------------------------------------*/
43
44
55
void
G3d_setResamplingFun
(G3D_Map * map,
void
(*resampleFun) ())
56
{
57
map->resampleFun = resampleFun;
58
}
59
60
/*--------------------------------------------------------------------------*/
61
62
73
void
G3d_getResamplingFun
(G3D_Map * map,
void
(**resampleFun) ())
74
{
75
*resampleFun = map->resampleFun;
76
}
77
78
/*--------------------------------------------------------------------------*/
79
80
90
void
G3d_getNearestNeighborFunPtr
(
void
(**nnFunPtr) ())
91
{
92
*nnFunPtr =
G3d_nearestNeighbor
;
93
}
lib
g3d
g3dresample.c
Generated on Thu Sep 26 2013 09:48:01 for GRASS Programmer's Manual by
1.8.4