GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
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

◆ dig_calc_begin_angle()

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.

◆ dig_calc_end_angle()

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.

◆ dig_is_line_degenerate()

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.

◆ dig_line_degenerate()

int dig_line_degenerate ( const struct line_pnts points)

Definition at line 180 of file angle.c.

Referenced by dig_calc_begin_angle(), and dig_calc_end_angle().