distance.c File Reference

Vedit library - distance calculation. More...

#include <grass/vedit.h>
Include dependency graph for distance.c:

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.

Detailed Description

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.

Author:
Martin Landa <landa.martin gmail.com>
Date:
2007-2008

Definition in file distance.c.


Function Documentation

double Vedit_get_min_distance ( struct line_pnts *  Points1,
struct line_pnts *  Points2,
int  with_z,
int *  mindistidx 
)

Calculate distances between two lines.

Todo:
LL projection
Parameters:
Points1 first line geometry
Points2 second line geometry
[out] index of minimal distance
Returns:
minimal distance betwen two lines (their nodes)

Definition at line 30 of file distance.c.

References Vect_points_distance().


Generated on Sat Oct 24 03:25:24 2009 for GRASS Programmer's Manual by  doxygen 1.6.1