constraint.c File Reference

#include <grass/Vect.h>
#include <grass/gis.h>

Include dependency graph for constraint.c:

Go to the source code of this file.

Functions

int Vect_set_constraint_region (struct Map_info *Map, double n, double s, double e, double w, double t, double b)
 ADD.
int Vect_get_constraint_box (struct Map_info *Map, BOUND_BOX *Box)
 ADD.
int Vect_set_constraint_type (struct Map_info *Map, int type)
 ADD.
int Vect_remove_constraints (struct Map_info *Map)
 ADD.


Function Documentation

int Vect_get_constraint_box ( struct Map_info *  Map,
BOUND_BOX *  Box 
)

ADD.

Returns:
0 on success
Parameters:
Map_info structure, BOUND_BOX

Definition at line 65 of file constraint.c.

Referenced by V1_read_next_line_nat(), and V2_read_next_line_nat().

int Vect_remove_constraints ( struct Map_info *  Map  ) 

ADD.

Returns:
0 on success
Parameters:
Map_info structure

Definition at line 117 of file constraint.c.

int Vect_set_constraint_region ( struct Map_info *  Map,
double  n,
double  s,
double  e,
double  w,
double  t,
double  b 
)

ADD.

Returns:
0 on success, -1 on error
Parameters:
Map_info structure, north, south, east, west, top, bottom coordinates

Definition at line 37 of file constraint.c.

int Vect_set_constraint_type ( struct Map_info *  Map,
int  type 
)

ADD.

Returns:
0 on success
Parameters:
Map_info structure, constraint type

Definition at line 100 of file constraint.c.


Generated on Sun Apr 6 17:32:46 2008 for GRASS by  doxygen 1.5.5