GRASS GIS 7 Programmer's Manual  7.5.svn(2017)-r71933
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vector/Vlib/type.c File Reference

Vector library - feature type. More...

#include <grass/vector.h>
Include dependency graph for vector/Vlib/type.c:

Go to the source code of this file.

Functions

int Vect_option_to_types (const struct Option *type_opt)
 Get types from options. More...
 

Detailed Description

Vector library - feature type.

Higher level functions for reading/writing/manipulating vectors.

(C) 2001-2009 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.

Author
Radim Blazek

Definition in file vector/Vlib/type.c.

Function Documentation

int Vect_option_to_types ( const struct Option type_opt)

Get types from options.

Parameters
type_optOption structure
Returns
types
-1 on error

Definition at line 26 of file vector/Vlib/type.c.

References Option::answers, GV_AREA, GV_BOUNDARY, GV_CENTROID, GV_FACE, GV_KERNEL, GV_LINE, GV_POINT, and GV_VOLUME.