GRASS 8 Programmer's Manual 8.6.0dev(2026)-d2adb3a889
Loading...
Searching...
No Matches
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.
 

Detailed Description

Vector library - feature type.

Higher level functions for reading/writing/manipulating vectors.

SPDX-FileCopyrightText: 2001-2009 GRASS Development Team SPDX-License-Identifier: GPL-2.0-or-later

Author
Radim Blazek

Definition in file vector/Vlib/type.c.

Function Documentation

◆ Vect_option_to_types()

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 24 of file vector/Vlib/type.c.

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