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

Vector library - update topology (lower level functions) More...

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

Go to the source code of this file.

Functions

void dig_line_reset_updated (struct Plus_head *Plus)
 Reset number of updated lines. More...
 
void dig_line_add_updated (struct Plus_head *Plus, int line, off_t offset)
 Add new line to updated. More...
 
void dig_node_reset_updated (struct Plus_head *Plus)
 Reset number of updated nodes. More...
 
void dig_node_add_updated (struct Plus_head *Plus, int node)
 Add node to updated. More...
 

Detailed Description

Vector library - update topology (lower level functions)

Lower level functions for reading/writing/manipulating vectors.

(C) 2001 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/diglib/update.c.

Function Documentation

void dig_line_add_updated ( struct Plus_head Plus,
int  line,
off_t  offset 
)

Add new line to updated.

Parameters
Pluspointer to Plus_head structure
lineline id
offsetline offset (negative offset is ignored)

Definition at line 37 of file vector/diglib/update.c.

References Plus_head::alloc_uplines, G_debug(), Plus_head::n_uplines, Plus_head::uplines, Plus_head::uplines_offset, and Plus_head::uplist.

Referenced by dig_del_line().

void dig_line_reset_updated ( struct Plus_head Plus)

Reset number of updated lines.

Parameters
Pluspointer to Plus_head structure

Definition at line 25 of file vector/diglib/update.c.

References Plus_head::n_uplines, and Plus_head::uplist.

Referenced by Vect_reset_updated().

void dig_node_add_updated ( struct Plus_head Plus,
int  node 
)

Add node to updated.

Parameters
Pluspointer to Plus_head structure
nodenode id

Definition at line 87 of file vector/diglib/update.c.

References Plus_head::alloc_upnodes, G_debug(), Plus_head::n_upnodes, Plus_head::uplist, and Plus_head::upnodes.

Referenced by dig_del_line().

void dig_node_reset_updated ( struct Plus_head Plus)

Reset number of updated nodes.

Parameters
Pluspointer to Plus_head structure

Definition at line 76 of file vector/diglib/update.c.

References Plus_head::n_upnodes, and Plus_head::uplist.

Referenced by Vect_reset_updated().