#include <stdlib.h>
#include <grass/Vect.h>
Go to the source code of this file.
Functions | |
P_NODE * | dig_alloc_node () |
int | dig_node_alloc_line (P_NODE *node, int add) |
int | dig_alloc_nodes (struct Plus_head *Plus, int add) |
P_LINE * | dig_alloc_line () |
int | dig_alloc_lines (struct Plus_head *Plus, int add) |
int | dig_alloc_areas (struct Plus_head *Plus, int add) |
int | dig_alloc_isles (struct Plus_head *Plus, int add) |
P_AREA * | dig_alloc_area () |
P_ISLE * | dig_alloc_isle () |
int | dig_alloc_points (struct line_pnts *points, int num) |
int | dig_alloc_cats (struct line_cats *cats, int num) |
int | dig_area_alloc_line (P_AREA *area, int add) |
int | dig_area_alloc_isle (P_AREA *area, int add) |
int | dig_isle_alloc_line (P_ISLE *isle, int add) |
int | dig_out_of_memory () |
P_AREA* dig_alloc_area | ( | ) |
int dig_alloc_areas | ( | struct Plus_head * | Plus, | |
int | add | |||
) |
int dig_alloc_cats | ( | struct line_cats * | cats, | |
int | num | |||
) |
Definition at line 272 of file struct_alloc.c.
References dig__alloc_space(), and dig_out_of_memory().
Referenced by Vect__Read_line_nat(), and Vect_cat_set().
P_ISLE* dig_alloc_isle | ( | ) |
int dig_alloc_isles | ( | struct Plus_head * | Plus, | |
int | add | |||
) |
P_LINE* dig_alloc_line | ( | ) |
int dig_alloc_lines | ( | struct Plus_head * | Plus, | |
int | add | |||
) |
P_NODE* dig_alloc_node | ( | ) |
int dig_alloc_nodes | ( | struct Plus_head * | Plus, | |
int | add | |||
) |
int dig_alloc_points | ( | struct line_pnts * | points, | |
int | num | |||
) |
Definition at line 226 of file struct_alloc.c.
References dig__alloc_space(), and dig_out_of_memory().
Referenced by dig_get_poly_points(), Vect__Read_line_nat(), Vect_append_point(), Vect_append_points(), Vect_copy_xyz_to_pnts(), and Vect_line_insert_point().
int dig_area_alloc_isle | ( | P_AREA * | area, | |
int | add | |||
) |
Definition at line 329 of file struct_alloc.c.
Referenced by dig_area_add_isle(), and dig_Rd_P_area().
int dig_area_alloc_line | ( | P_AREA * | area, | |
int | add | |||
) |
int dig_isle_alloc_line | ( | P_ISLE * | isle, | |
int | add | |||
) |
int dig_node_alloc_line | ( | P_NODE * | node, | |
int | add | |||
) |
Definition at line 65 of file struct_alloc.c.
Referenced by dig_node_add_line(), and dig_Rd_P_node().
int dig_out_of_memory | ( | ) |
Definition at line 374 of file struct_alloc.c.
Referenced by dig_alloc_cats(), dig_alloc_points(), and dig_build_area_with_line().