GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
|
Vector library - nearest, adjust, parallel lines. More...
Go to the source code of this file.
Macros | |
#define | LENGTH(DX, DY) ( sqrt( (DX*DX)+(DY*DY) ) ) |
#define | PI M_PI |
Functions | |
void | Vect_line_parallel (struct line_pnts *InPoints, double distance, double tolerance, int rm_end, struct line_pnts *OutPoints) |
Create parallel line. More... | |
void | Vect_line_buffer (const struct line_pnts *InPoints, double distance, double tolerance, struct line_pnts *OutPoints) |
Create buffer around the line line. More... | |
Vector library - nearest, adjust, parallel lines.
Higher level functions for reading/writing/manipulating vectors.
See buffer2.c for replacement.
(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 buffer.c.
void Vect_line_buffer | ( | const struct line_pnts * | InPoints, |
double | distance, | ||
double | tolerance, | ||
struct line_pnts * | OutPoints | ||
) |
Create buffer around the line line.
This function is replaced by Vect_line_buffer().
Buffer is closed counter clockwise polygon. Warning: output line may contain loops!
InPoints | input line | |
distance | create buffer in distance | |
tolerance | maximum distance between theoretical arc and polygon segments | |
[out] | OutPoints | output line |
void Vect_line_parallel | ( | struct line_pnts * | InPoints, |
double | distance, | ||
double | tolerance, | ||
int | rm_end, | ||
struct line_pnts * | OutPoints | ||
) |
Create parallel line.
This function is replaced by Vect_line_parallel2().
InPoints | input line | |
distance | create parallel line in distance | |
tolerance | maximum distance between theoretical arc and polygon segments | |
rm_end | remove end points falling into distance | |
[out] | OutPoints | output line |