GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-38f5cf43d1
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 83 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 179 of file angle.c.

Referenced by dig_calc_begin_angle(), and dig_calc_end_angle().