#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <grass/gis.h>
#include <grass/Vect.h>
Go to the source code of this file.
Functions | |
int | dig_init_plus (struct Plus_head *Plus) |
void | dig_free_plus_nodes (struct Plus_head *Plus) |
void | dig_free_plus_lines (struct Plus_head *Plus) |
void | dig_free_plus_areas (struct Plus_head *Plus) |
void | dig_free_plus_isles (struct Plus_head *Plus) |
void | dig_free_plus (struct Plus_head *Plus) |
int | dig_load_plus (struct Plus_head *Plus, GVFILE *plus, int head_only) |
int | dig_write_plus_file (GVFILE *fp_plus, struct Plus_head *Plus) |
int | dig_write_nodes (GVFILE *plus, struct Plus_head *Plus) |
int | dig_write_lines (GVFILE *plus, struct Plus_head *Plus) |
int | dig_write_areas (GVFILE *plus, struct Plus_head *Plus) |
int | dig_write_isles (GVFILE *plus, struct Plus_head *Plus) |
void dig_free_plus | ( | struct Plus_head * | Plus | ) |
Definition at line 215 of file plus.c.
References dig_cidx_free(), dig_free_plus_areas(), dig_free_plus_isles(), dig_free_plus_lines(), and dig_free_plus_nodes().
Referenced by Vect__open_old(), and Vect_close().
void dig_free_plus_areas | ( | struct Plus_head * | Plus | ) |
void dig_free_plus_isles | ( | struct Plus_head * | Plus | ) |
void dig_free_plus_lines | ( | struct Plus_head * | Plus | ) |
void dig_free_plus_nodes | ( | struct Plus_head * | Plus | ) |
int dig_init_plus | ( | struct Plus_head * | Plus | ) |
Definition at line 28 of file plus.c.
References dig_cidx_init(), and dig_spidx_init().
Referenced by dig_load_plus(), Vect__open_old(), and Vect_open_new().
int dig_load_plus | ( | struct Plus_head * | Plus, | |
GVFILE * | plus, | |||
int | head_only | |||
) |
Definition at line 232 of file plus.c.
References dig_alloc_areas(), dig_alloc_isles(), dig_alloc_lines(), dig_alloc_nodes(), dig_fseek(), dig_init_plus(), dig_Rd_P_area(), dig_Rd_P_isle(), dig_Rd_P_line(), dig_Rd_P_node(), dig_Rd_Plus_head(), and dig_set_cur_port().
Referenced by Vect_open_topo().
int dig_write_areas | ( | GVFILE * | plus, | |
struct Plus_head * | Plus | |||
) |
Definition at line 390 of file plus.c.
References dig_ftell(), and dig_Wr_P_area().
Referenced by dig_write_plus_file().
int dig_write_isles | ( | GVFILE * | plus, | |
struct Plus_head * | Plus | |||
) |
Definition at line 410 of file plus.c.
References dig_ftell(), and dig_Wr_P_isle().
Referenced by dig_write_plus_file().
int dig_write_lines | ( | GVFILE * | plus, | |
struct Plus_head * | Plus | |||
) |
Definition at line 371 of file plus.c.
References dig_ftell(), and dig_Wr_P_line().
Referenced by dig_write_plus_file().
int dig_write_nodes | ( | GVFILE * | plus, | |
struct Plus_head * | Plus | |||
) |
Definition at line 352 of file plus.c.
References dig_ftell(), and dig_Wr_P_node().
Referenced by dig_write_plus_file().
int dig_write_plus_file | ( | GVFILE * | fp_plus, | |
struct Plus_head * | Plus | |||
) |
Definition at line 302 of file plus.c.
References dig_fflush(), dig_rewind(), dig_set_cur_port(), dig_Wr_Plus_head(), dig_write_areas(), dig_write_isles(), dig_write_lines(), and dig_write_nodes().
Referenced by Vect_save_topo().