grass
7.8.6
About: GRASS (Geographic Resources Analysis Support System) is a raster- and vector-based GIS, image processing system, graphics production system and spatial modeling system.
Fossies Dox: grass-7.8.6.tar.gz ("unofficial" and yet experimental doxygen-generated source code documentation) |
Vedit library - distance calculation. More...
#include <grass/vedit.h>
Go to the source code of this file.
Functions | |
double | Vedit_get_min_distance (struct line_pnts *Points1, struct line_pnts *Points2, int with_z, int *mindistidx) |
Calculate distances between two lines. More... | |
Vedit library - distance calculation.
(C) 2007-2008 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 distance.c.
double Vedit_get_min_distance | ( | struct line_pnts * | Points1, |
struct line_pnts * | Points2, | ||
int | with_z, | ||
int * | mindistidx | ||
) |
Calculate distances between two lines.
Points1 | first line geometry | |
Points2 | second line geometry | |
with_z | WITH_Z for 3D data | |
[out] | mindistidx | index of minimal distance |
Definition at line 28 of file distance.c.
References G_debug(), line_pnts::n_points, Vect_points_distance(), line_pnts::x, line_pnts::y, and line_pnts::z.
Referenced by merge_lines().