#include "gis.h"
#include "glocale.h"
#include "Vect.h"
Include dependency graph for write.c:
Go to the source code of this file.
Functions | |
long | Vect_write_line (struct Map_info *Map, int type, struct line_pnts *points, struct line_cats *cats) |
writes new line to the end of file (table) the function calls fatal error on error | |
int | Vect_rewrite_line (struct Map_info *Map, int line, int type, struct line_pnts *points, struct line_cats *cats) |
rewrites line info at the given offset. The number of points or cats or type may change. If necessary, the old line is deleted and new is written. | |
int | Vect_delete_line (struct Map_info *Map, int line) |
deletes line of given number. Map must be opened on level 2. |
int Vect_delete_line | ( | struct Map_info * | Map, | |
int | line | |||
) |
deletes line of given number. Map must be opened on level 2.
Map_info | structure, line number |
Definition at line 180 of file write.c.
Referenced by remove_bridges(), remove_dangles(), Vect_break_lines(), Vect_break_polygons(), Vect_clean_small_angles_at_nodes(), Vect_remove_duplicates(), Vect_remove_small_areas(), and Vect_snap_lines().
int Vect_rewrite_line | ( | struct Map_info * | Map, | |
int | line, | |||
int | type, | |||
struct line_pnts * | points, | |||
struct line_cats * | cats | |||
) |
rewrites line info at the given offset. The number of points or cats or type may change. If necessary, the old line is deleted and new is written.
Map_info | structure, line number, vector type, line_pnts structure, line_cats structure |
Definition at line 124 of file write.c.
Referenced by remove_bridges(), remove_dangles(), Vect_break_polygons(), Vect_clean_small_angles_at_nodes(), Vect_remove_duplicates(), and Vect_snap_lines().
long Vect_write_line | ( | struct Map_info * | Map, | |
int | type, | |||
struct line_pnts * | points, | |||
struct line_cats * | cats | |||
) |
writes new line to the end of file (table) the function calls fatal error on error
Map_info | structure, vector type, line_pnts structure, line_cats structure |
Definition at line 81 of file write.c.
Referenced by remove_bridges(), remove_dangles(), Vect_break_lines(), Vect_break_polygons(), Vect_clean_small_angles_at_nodes(), Vect_copy_map_lines(), Vect_overlay_and(), Vect_remove_duplicates(), and Vect_remove_small_areas().