GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
vector/diglib/update.c File Reference
#include <stdlib.h>
#include <grass/gis.h>
#include <grass/Vect.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)
 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...
 

Function Documentation

void dig_line_add_updated ( struct Plus_head *  Plus,
int  line 
)

Add new line to updated.

Parameters
Pluspointer to Plus_head structure
lineline id

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

References G_debug().

Referenced by dig_add_area(), dig_add_isle(), dig_del_area(), dig_del_isle(), and Vect_attach_centroids().

void dig_line_reset_updated ( struct Plus_head *  Plus)

Reset number of updated lines.

Parameters
Pluspointer to Plus_head structure

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

Referenced by Vect_delete_line(), Vect_restore_line(), Vect_rewrite_line(), and Vect_write_line().

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 76 of file vector/diglib/update.c.

References G_debug().

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 65 of file vector/diglib/update.c.

Referenced by Vect_delete_line(), Vect_restore_line(), Vect_rewrite_line(), and Vect_write_line().