#include <stdlib.h>
#include <grass/Vect.h>
Go to the source code of this file.
Functions | |
int | dig_build_area_with_line (struct Plus_head *plus, plus_t first_line, int side, plus_t **lines) |
int | dig_add_area (struct Plus_head *plus, int n_lines, plus_t *lines) |
int | dig_area_add_isle (struct Plus_head *plus, int area, int isle) |
int | dig_area_del_isle (struct Plus_head *plus, int area, int isle) |
int | dig_del_area (struct Plus_head *plus, int area) |
int | dig_area_set_box (struct Plus_head *plus, plus_t area, BOUND_BOX *Box) |
int | dig_angle_next_line (struct Plus_head *plus, plus_t current_line, int side, int type) |
int | dig_node_angle_check (struct Plus_head *plus, plus_t line, int type) |
int | dig_add_isle (struct Plus_head *plus, int n_lines, plus_t *lines) |
int | dig_isle_set_box (struct Plus_head *plus, plus_t isle, BOUND_BOX *Box) |
int | dig_del_isle (struct Plus_head *plus, int isle) |
int dig_add_area | ( | struct Plus_head * | plus, | |
int | n_lines, | |||
plus_t * | lines | |||
) |
Definition at line 159 of file plus_area.c.
References dig_alloc_area(), dig_alloc_areas(), dig_area_alloc_line(), dig_area_set_box(), dig_box_copy(), dig_box_extend(), dig_line_add_updated(), dig_line_get_box(), and dig_spidx_add_area().
Referenced by Vect_build_line_area().
int dig_add_isle | ( | struct Plus_head * | plus, | |
int | n_lines, | |||
plus_t * | lines | |||
) |
Definition at line 551 of file plus_area.c.
References dig_alloc_isle(), dig_alloc_isles(), dig_box_copy(), dig_box_extend(), dig_isle_alloc_line(), dig_isle_set_box(), dig_line_add_updated(), dig_line_get_box(), and dig_spidx_add_isle().
Referenced by Vect_build_line_area().
int dig_angle_next_line | ( | struct Plus_head * | plus, | |
plus_t | current_line, | |||
int | side, | |||
int | type | |||
) |
Definition at line 416 of file plus_area.c.
Referenced by dig_build_area_with_line(), dig_node_angle_check(), remove_bridges(), V2_delete_line_nat(), and V2_write_line_nat().
int dig_area_add_isle | ( | struct Plus_head * | plus, | |
int | area, | |||
int | isle | |||
) |
Definition at line 231 of file plus_area.c.
References dig_area_alloc_isle().
Referenced by Vect_attach_isle().
int dig_area_del_isle | ( | struct Plus_head * | plus, | |
int | area, | |||
int | isle | |||
) |
int dig_area_set_box | ( | struct Plus_head * | plus, | |
plus_t | area, | |||
BOUND_BOX * | Box | |||
) |
int dig_build_area_with_line | ( | struct Plus_head * | plus, | |
plus_t | first_line, | |||
int | side, | |||
plus_t ** | lines | |||
) |
Definition at line 50 of file plus_area.c.
References dig__falloc(), dig__frealloc(), dig_angle_next_line(), dig_node_angle_check(), dig_node_line_angle(), and dig_out_of_memory().
Referenced by Vect_build_line_area().
int dig_del_area | ( | struct Plus_head * | plus, | |
int | area | |||
) |
Definition at line 303 of file plus_area.c.
References dig_line_add_updated(), and dig_spidx_del_area().
Referenced by V2_delete_line_nat(), and V2_write_line_nat().
int dig_del_isle | ( | struct Plus_head * | plus, | |
int | isle | |||
) |
Definition at line 646 of file plus_area.c.
References dig_area_del_isle(), dig_line_add_updated(), and dig_spidx_del_isle().
Referenced by V2_delete_line_nat(), and V2_write_line_nat().
int dig_isle_set_box | ( | struct Plus_head * | plus, | |
plus_t | isle, | |||
BOUND_BOX * | Box | |||
) |
int dig_node_angle_check | ( | struct Plus_head * | plus, | |
plus_t | line, | |||
int | type | |||
) |
Definition at line 501 of file plus_area.c.
References dig_angle_next_line(), and dig_node_line_angle().
Referenced by dig_build_area_with_line().