#include <grass/Vect.h>
#include <stdlib.h>
#include <grass/gis.h>
Go to the source code of this file.
Functions | |
struct ilist * | Vect_new_list (void) |
int | Vect_reset_list (struct ilist *list) |
ADD. | |
int | Vect_destroy_list (struct ilist *list) |
ADD. | |
int | Vect_list_append (struct ilist *list, int val) |
Append new item to the end of list if not yet present. | |
int | Vect_list_append_list (struct ilist *alist, struct ilist *blist) |
Append new item to the end of list if not yet present. | |
int | Vect_list_delete (struct ilist *list, int val) |
Remove value from list. | |
int | Vect_list_delete_list (struct ilist *alist, struct ilist *blist) |
Delete list from existing list. | |
int | Vect_val_in_list (struct ilist *list, int val) |
is value in list? |
int Vect_destroy_list | ( | struct ilist * | list | ) |
ADD.
ilist | * structure |
Definition at line 61 of file Vlib/list.c.
Referenced by Vect_break_lines(), and Vect_find_line().
int Vect_list_append | ( | struct ilist * | list, | |
int | val | |||
) |
Append new item to the end of list if not yet present.
ilist | * structure, ADD |
Definition at line 83 of file Vlib/list.c.
Referenced by remove_bridges(), remove_dangles(), Vect_get_area_boundaries(), Vect_get_isle_boundaries(), Vect_graph_shortest_path(), Vect_list_append_list(), Vect_net_shortest_path(), Vect_net_shortest_path_coor(), Vect_overlay_and(), and Vect_remove_small_areas().
int Vect_list_append_list | ( | struct ilist * | alist, | |
struct ilist * | blist | |||
) |
Append new item to the end of list if not yet present.
ailist | * structure, bilist * structure |
Definition at line 115 of file Vlib/list.c.
References Vect_list_append().
int Vect_list_delete | ( | struct ilist * | list, | |
int | val | |||
) |
Remove value from list.
ilist | * structure, ADD |
Definition at line 135 of file Vlib/list.c.
Referenced by Vect_list_delete_list().
int Vect_list_delete_list | ( | struct ilist * | alist, | |
struct ilist * | blist | |||
) |
Delete list from existing list.
ailist | * structure, bilist * structure |
Definition at line 162 of file Vlib/list.c.
References Vect_list_delete().
struct ilist* Vect_new_list | ( | void | ) | [read] |
Definition at line 25 of file Vlib/list.c.
Referenced by remove_bridges(), remove_dangles(), Vect_attach_centroids(), Vect_attach_isles(), Vect_break_lines(), Vect_build_nat(), Vect_find_area(), Vect_find_island(), Vect_find_line(), Vect_find_node(), Vect_isle_find_area(), Vect_net_shortest_path_coor(), Vect_overlay_and(), Vect_remove_duplicates(), Vect_remove_small_areas(), Vect_select_areas_by_polygon(), Vect_select_lines_by_box(), Vect_select_lines_by_polygon(), and Vect_snap_lines().
int Vect_reset_list | ( | struct ilist * | list | ) |
ADD.
ilist | * structure |
Definition at line 47 of file Vlib/list.c.
Referenced by remove_bridges(), remove_dangles(), Vect_get_area_boundaries(), Vect_get_isle_boundaries(), Vect_graph_shortest_path(), Vect_net_shortest_path(), Vect_remove_small_areas(), and Vect_snap_lines().
int Vect_val_in_list | ( | struct ilist * | list, | |
int | val | |||
) |
is value in list?
line_pnts | * structure, value |
Definition at line 182 of file Vlib/list.c.
Referenced by remove_bridges(), and Vect_overlay_and().