GRASS Programmer's Manual
6.4.2(2012)
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
wind_in.c
Go to the documentation of this file.
1
15
#include <grass/gis.h>
16
26
int
G_point_in_region
(
double
easting,
double
northing)
27
{
28
struct
Cell_head window;
29
30
G_get_window
(&window);
31
32
return
G_point_in_window
(easting, northing, &window);
33
}
34
35
36
51
int
G_point_in_window
(
double
easting,
double
northing,
52
const
struct
Cell_head *window)
53
{
54
55
if
(easting > window->east || easting < window->west ||
56
northing > window->north || northing < window->south)
57
return
FALSE
;
58
59
return
TRUE
;
60
}
lib
gis
wind_in.c
Generated on Wed Jun 6 2012 14:04:30 for GRASS Programmer's Manual by
1.8.1