39 #include <grass/Vect.h>
40 #include <grass/gis.h>
53 double n,
double s,
double e,
double w,
double t,
61 Map->Constraint_region_flag = 1;
62 Map->Constraint_N =
n;
63 Map->Constraint_S =
s;
64 Map->Constraint_E = e;
65 Map->Constraint_W =
w;
66 Map->Constraint_T = t;
67 Map->Constraint_B =
b;
83 Box->N = Map->Constraint_N;
84 Box->S = Map->Constraint_S;
85 Box->E = Map->Constraint_E;
86 Box->W = Map->Constraint_W;
87 Box->T = Map->Constraint_T;
88 Box->B = Map->Constraint_B;
103 Map->Constraint_type =
type;
104 Map->Constraint_type_flag = 1;
118 Map->Constraint_region_flag = 0;
119 Map->Constraint_type_flag = 0;
int Vect_get_constraint_box(struct Map_info *Map, BOUND_BOX *Box)
Get constraint box.
int Vect_set_constraint_type(struct Map_info *Map, int type)
Set constraint type.
float Box[8][3]
Vertices for box.
int Vect_remove_constraints(struct Map_info *Map)
Remove constraints.
int Vect_set_constraint_region(struct Map_info *Map, double n, double s, double e, double w, double t, double b)
Set constraint region.
int G_projection(void)
query cartographic projection