GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Vedit library - select primitives by query. More...
#include <math.h>
#include <grass/glocale.h>
#include <grass/vedit.h>
Go to the source code of this file.
Functions | |
int | Vedit_select_by_query (struct Map_info *Map, int type, int layer, double thresh, int query, struct ilist *List) |
Select primitives by query (based on geometry properties) More... | |
Vedit library - select primitives by query.
(C) 2007-2008 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file vector/vedit/select.c.
int Vedit_select_by_query | ( | struct Map_info * | Map, |
int | type, | ||
int | layer, | ||
double | thresh, | ||
int | query, | ||
struct ilist * | List | ||
) |
Select primitives by query (based on geometry properties)
Currently supported:
Perform global query if List is empty otherwise query only selected vector objects.
Map | pointer to Map_info | |
type | feature type | |
layer | layer number | |
thresh | threshold value (< 0 for 'shorter', > 0 for 'longer') | |
query | query (length, dangle, ...) | |
[in,out] | List | list of selected features |
Definition at line 43 of file vector/vedit/select.c.
References G_debug(), num, Vect_destroy_cats_struct(), Vect_destroy_line_struct(), Vect_destroy_list(), Vect_get_num_lines(), Vect_list_append(), Vect_new_cats_struct(), Vect_new_line_struct(), Vect_new_list(), Vect_select_dangles(), and Vect_val_in_list().
Referenced by wxdigit.IVDigit::SelectLinesByQuery().