Functions

diglib/type.c File Reference

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

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

Go to the source code of this file.

Functions

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

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 diglib/type.c.


Function Documentation

int dig_type_from_store ( int  stype  ) 

Convert type from store type.

Parameters:
type feature store type
Returns:
type

Definition at line 58 of file diglib/type.c.

Referenced by dig_Rd_P_line(), dig_read_cidx(), dig_read_cidx_head(), and dig_write_cidx().

int dig_type_to_store ( int  type  ) 

Convert type to store type.

Parameters:
type feature type
Returns:
store type

Definition at line 27 of file diglib/type.c.

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