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

Vector library - feature type conversion (lower level functions) More...

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

Go to the source code of this file.

Functions

int dig_type_to_store (int type)
 Convert type to store type. More...
 
int dig_type_from_store (int stype)
 Convert type from store type. More...
 

Detailed Description

Vector library - feature type conversion (lower level functions)

Lower level functions for reading/writing/manipulating vectors.

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
Date
2001

Definition in file vector/diglib/type.c.

Function Documentation

int dig_type_from_store ( int  stype)
int dig_type_to_store ( int  type)

Convert type to store type.

Parameters
typefeature type
Returns
store type

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

References GV_AREA, GV_BOUNDARY, GV_CENTROID, GV_FACE, GV_KERNEL, GV_LINE, GV_POINT, GV_STORE_AREA, GV_STORE_BOUNDARY, GV_STORE_CENTROID, GV_STORE_FACE, GV_STORE_KERNEL, GV_STORE_LINE, GV_STORE_POINT, GV_STORE_VOLUME, and GV_VOLUME.

Referenced by dig_Wr_P_line(), dig_write_cidx(), and dig_write_cidx_head().