|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-ddeab64dbf
|
Topological feature - node. More...
#include <dig_structs.h>
Data Fields | |
| double | x |
| X coordinate. | |
| double | y |
| Y coordinate. | |
| double | z |
| Z coordinate (used only for 3D data) | |
| plus_t | alloc_lines |
| Allocated space for lines. | |
| plus_t | n_lines |
| Number of attached lines (size of lines, angle) | |
| plus_t * | lines |
| List of connected lines. | |
| float * | angles |
| List of angles of connected lines. | |
Topological feature - node.
Definition at line 1421 of file dig_structs.h.
| plus_t P_node::alloc_lines |
Allocated space for lines.
Definition at line 1437 of file dig_structs.h.
Referenced by dig_free_node(), and dig_node_alloc_line().
| float* P_node::angles |
List of angles of connected lines.
Angles for lines/boundaries are in radians between -PI and PI. Value for points or lines with identical points (degenerated) is set to -9. See dig_calc_begin_angle() and dig_calc_end_angle() for details.
Definition at line 1460 of file dig_structs.h.
Referenced by dig_angle_next_line(), dig_del_line(), dig_free_node(), dig_node_add_line(), dig_node_alloc_line(), dig_node_line_angle(), dig_Rd_P_node(), and dig_Wr_P_node().
| plus_t* P_node::lines |
List of connected lines.
Line id can be positive (for lines which starts at the node) or negative (for lines which ends at the node).
Definition at line 1451 of file dig_structs.h.
Referenced by dig_angle_next_line(), dig_del_line(), dig_free_node(), dig_node_add_line(), dig_node_alloc_line(), dig_node_line_angle(), dig_Rd_P_node(), dig_Wr_P_node(), and V2__add_line_to_topo_nat().
| plus_t P_node::n_lines |
Number of attached lines (size of lines, angle)
If 0, then is degenerate node, for snapping ???
Definition at line 1444 of file dig_structs.h.
Referenced by dig_angle_next_line(), dig_del_line(), dig_node_add_line(), dig_node_alloc_line(), dig_node_line_angle(), dig_Rd_P_node(), dig_Wr_P_node(), dig_Wr_Plus_head(), and V2__add_line_to_topo_nat().
| double P_node::x |
X coordinate.
Definition at line 1425 of file dig_structs.h.
Referenced by dig_add_node(), dig_del_line(), dig_find_area_box(), dig_find_isle_box(), dig_find_line_box(), dig_Rd_P_node(), dig_spidx_del_area(), dig_spidx_del_isle(), dig_spidx_del_node(), dig_which_node(), dig_Wr_P_node(), Vect_get_node_coor(), Vect_isle_find_area(), and Vect_remove_small_areas_nat().
| double P_node::y |
Y coordinate.
Definition at line 1429 of file dig_structs.h.
Referenced by dig_add_node(), dig_del_line(), dig_find_area_box(), dig_find_isle_box(), dig_find_line_box(), dig_Rd_P_node(), dig_spidx_del_area(), dig_spidx_del_isle(), dig_spidx_del_node(), dig_which_node(), dig_Wr_P_node(), Vect_get_node_coor(), Vect_isle_find_area(), and Vect_remove_small_areas_nat().
| double P_node::z |
Z coordinate (used only for 3D data)
Definition at line 1433 of file dig_structs.h.
Referenced by dig_add_node(), dig_del_line(), dig_find_area_box(), dig_find_isle_box(), dig_find_line_box(), dig_Rd_P_node(), dig_spidx_del_area(), dig_spidx_del_isle(), dig_spidx_del_node(), dig_Wr_P_node(), Vect_get_node_coor(), and Vect_remove_small_areas_nat().