GRASS GIS 7 Programmer's Manual  7.5.svn(2017)-r71942
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
angle.c File Reference
#include <stdio.h>
#include <math.h>
#include <grass/vector.h>
Include dependency graph for angle.c:

Go to the source code of this file.

Functions

float dig_calc_begin_angle (const struct line_pnts *points, double thresh)
 
float dig_calc_end_angle (const struct line_pnts *points, double thresh)
 
int dig_is_line_degenerate (const struct line_pnts *points, double thresh)
 
int dig_line_degenerate (const struct line_pnts *points)
 

Function Documentation

float dig_calc_begin_angle ( const struct line_pnts points,
double  thresh 
)

Definition at line 31 of file angle.c.

References dig_line_degenerate(), line_pnts::n_points, line_pnts::x, and line_pnts::y.

Referenced by dig_node_add_line().

float dig_calc_end_angle ( const struct line_pnts points,
double  thresh 
)

Definition at line 82 of file angle.c.

References dig_line_degenerate(), line_pnts::n_points, line_pnts::x, and line_pnts::y.

Referenced by dig_node_add_line().

int dig_is_line_degenerate ( const struct line_pnts points,
double  thresh 
)

Definition at line 135 of file angle.c.

References line_pnts::n_points, line_pnts::x, and line_pnts::y.

int dig_line_degenerate ( const struct line_pnts points)