#include <string.h>
#include <grass/Vect.h>
Go to the source code of this file.
Functions | |
int | Vect_overlay_and (struct Map_info *, int, struct ilist *, struct ilist *, struct Map_info *, int, struct ilist *, struct ilist *, struct Map_info *) |
overlay 2 vector maps with AND. AND supports: point line area point + - + line - - - area + - - | |
int | Vect_overlay_str_to_operator (char *str) |
Get operator code from string. | |
int | Vect_overlay (struct Map_info *AMap, int atype, struct ilist *AList, struct ilist *AAList, struct Map_info *BMap, int btype, struct ilist *BList, struct ilist *BAList, int operator, struct Map_info *OMap) |
Overlay 2 maps and create new one. |
int Vect_overlay | ( | struct Map_info * | AMap, | |
int | atype, | |||
struct ilist * | AList, | |||
struct ilist * | AAList, | |||
struct Map_info * | BMap, | |||
int | btype, | |||
struct ilist * | BList, | |||
struct ilist * | BAList, | |||
int | operator, | |||
struct Map_info * | OMap | |||
) |
Overlay 2 maps and create new one.
AMap,atype,AList,AAList,BMap,btype,BList,BAList,operator,OMap |
Definition at line 56 of file overlay.c.
References Vect_overlay_and().
int Vect_overlay_and | ( | struct Map_info * | AMap, | |
int | atype, | |||
struct ilist * | AList, | |||
struct ilist * | AAList, | |||
struct Map_info * | BMap, | |||
int | btype, | |||
struct ilist * | BList, | |||
struct ilist * | BAList, | |||
struct Map_info * | OMap | |||
) |
overlay 2 vector maps with AND. AND supports: point line area point + - + line - - - area + - -
AMap,atype,AList,AAList,BMap,btype,BList,BAList,OMap | ) |
Definition at line 85 of file overlay.c.
References Vect_cat_set(), Vect_find_area(), Vect_find_node(), Vect_get_area_centroid(), Vect_get_node_line(), Vect_get_node_n_lines(), Vect_get_num_lines(), Vect_list_append(), Vect_new_cats_struct(), Vect_new_line_struct(), Vect_new_list(), Vect_read_line(), Vect_reset_cats(), Vect_val_in_list(), and Vect_write_line().
Referenced by Vect_overlay().
int Vect_overlay_str_to_operator | ( | char * | str | ) |