#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <grass/gis.h>
#include <grass/Vect.h>
Go to the source code of this file.
Functions | |
void | delete_area_cats_from_cidx (struct Map_info *Map, int area) |
void | add_area_cats_to_cidx (struct Map_info *Map, int area) |
long | V1__rewrite_line_nat (struct Map_info *Map, long offset, int type, struct line_pnts *points, struct line_cats *cats) |
long | V1_write_line_nat (struct Map_info *Map, int type, struct line_pnts *points, struct line_cats *cats) |
long | V2_write_line_nat (struct Map_info *Map, int type, struct line_pnts *points, struct line_cats *cats) |
long | V1_rewrite_line_nat (struct Map_info *Map, long offset, int type, struct line_pnts *points, struct line_cats *cats) |
int | V2_rewrite_line_nat (struct Map_info *Map, int line, int type, struct line_pnts *points, struct line_cats *cats) |
int | V1_delete_line_nat (struct Map_info *Map, long offset) |
int | V2_delete_line_nat (struct Map_info *Map, int line) |
void add_area_cats_to_cidx | ( | struct Map_info * | Map, | |
int | area | |||
) |
Definition at line 46 of file write_nat.c.
References dig_cidx_add_cat_sorted(), V2_read_line_nat(), and Vect_new_cats_struct().
Referenced by V2_delete_line_nat(), and V2_write_line_nat().
void delete_area_cats_from_cidx | ( | struct Map_info * | Map, | |
int | area | |||
) |
Definition at line 24 of file write_nat.c.
References dig_cidx_del_cat(), V2_read_line_nat(), and Vect_new_cats_struct().
Referenced by V2_delete_line_nat(), and V2_write_line_nat().
long V1__rewrite_line_nat | ( | struct Map_info * | Map, | |
long | offset, | |||
int | type, | |||
struct line_pnts * | points, | |||
struct line_cats * | cats | |||
) |
Definition at line 364 of file write_nat.c.
References dig__fwrite_port_C(), dig__fwrite_port_D(), dig__fwrite_port_I(), dig__fwrite_port_S(), dig_fflush(), dig_fseek(), dig_set_cur_port(), and dig_type_to_store().
Referenced by V1_rewrite_line_nat(), and V1_write_line_nat().
int V1_delete_line_nat | ( | struct Map_info * | Map, | |
long | offset | |||
) |
Definition at line 456 of file write_nat.c.
References dig__fread_port_C(), dig__fwrite_port_C(), dig_fflush(), dig_fseek(), and dig_set_cur_port().
Referenced by V1_rewrite_line_nat(), and V2_delete_line_nat().
long V1_rewrite_line_nat | ( | struct Map_info * | Map, | |
long | offset, | |||
int | type, | |||
struct line_pnts * | points, | |||
struct line_cats * | cats | |||
) |
Definition at line 290 of file write_nat.c.
References dig_fseek(), dig_ftell(), V1__rewrite_line_nat(), V1_delete_line_nat(), V1_read_line_nat(), Vect_new_cats_struct(), and Vect_new_line_struct().
long V1_write_line_nat | ( | struct Map_info * | Map, | |
int | type, | |||
struct line_pnts * | points, | |||
struct line_cats * | cats | |||
) |
Definition at line 76 of file write_nat.c.
References dig_fseek(), dig_ftell(), and V1__rewrite_line_nat().
Referenced by V2_write_line_nat().
int V2_delete_line_nat | ( | struct Map_info * | Map, | |
int | line | |||
) |
Definition at line 495 of file write_nat.c.
References add_area_cats_to_cidx(), delete_area_cats_from_cidx(), dig_angle_next_line(), dig_cidx_del_cat(), dig_del_area(), dig_del_isle(), dig_del_line(), V1_delete_line_nat(), V2_read_line_nat(), Vect_attach_centroids(), Vect_attach_isles(), Vect_box_copy(), Vect_box_extend(), Vect_build_line_area(), Vect_get_area_box(), Vect_get_isle_box(), and Vect_new_cats_struct().
Referenced by V2_rewrite_line_nat().
int V2_rewrite_line_nat | ( | struct Map_info * | Map, | |
int | line, | |||
int | type, | |||
struct line_pnts * | points, | |||
struct line_cats * | cats | |||
) |
Definition at line 341 of file write_nat.c.
References V2_delete_line_nat(), and V2_write_line_nat().
long V2_write_line_nat | ( | struct Map_info * | Map, | |
int | type, | |||
struct line_pnts * | points, | |||
struct line_cats * | cats | |||
) |
Definition at line 98 of file write_nat.c.
References add_area_cats_to_cidx(), delete_area_cats_from_cidx(), dig_add_line(), dig_angle_next_line(), dig_cidx_add_cat_sorted(), dig_del_area(), dig_del_isle(), dig_line_box(), dig_line_set_box(), V1_write_line_nat(), Vect_attach_centroids(), Vect_attach_isles(), Vect_box_copy(), Vect_box_extend(), Vect_build_line_area(), Vect_find_area(), Vect_get_area_box(), and Vect_get_isle_box().
Referenced by V2_rewrite_line_nat().