|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-f6f2c534ea
|
Vector library - Clean boundaries at nodes. More...

Go to the source code of this file.
Functions | |
| int | Vect_clean_small_angles_at_nodes (struct Map_info *Map, int otype, struct Map_info *Err) |
| Clean small angles at nodes. | |
Vector library - Clean boundaries at nodes.
Higher level functions for reading/writing/manipulating vectors.
(C) 2001-2009 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file clean_nodes.c.
Clean small angles at nodes.
It may happen that even if the angle between 2 boundaries at node is very small, the calculated angle is 0 because of representation error. The map must be built at least on level GV_BUILD_BASE
| Map | input map | |
| otype | feature type | |
| [out] | Err | vector map where error line segments are written |
Definition at line 33 of file clean_nodes.c.
References _, G_debug(), G_percent(), G_verbose_message(), GV_BOUNDARY, GV_LINE, GV_LINES, line_pnts::n_points, NULL, P_line::type, Vect_append_point(), Vect_cat_set(), Vect_delete_line(), Vect_destroy_cats_struct(), Vect_destroy_line_struct(), Vect_get_node_coor(), Vect_get_node_line(), Vect_get_node_line_angle(), Vect_get_node_n_lines(), Vect_get_num_nodes(), Vect_line_delete_point(), Vect_line_prune(), Vect_new_cats_struct(), Vect_new_line_struct(), Vect_node_alive(), Vect_points_distance(), Vect_read_line(), Vect_reset_cats(), Vect_reset_line(), Vect_rewrite_line(), Vect_write_line(), line_pnts::x, x, line_pnts::y, and line_pnts::z.