GRASS GIS 8 Programmer's Manual  8.2.2dev(2023)-3d37ee165c
diglib/poly.c File Reference
#include <math.h>
#include <grass/vector.h>
Include dependency graph for diglib/poly.c:

Go to the source code of this file.

Macros

#define HUGE_VAL   9999999999999.0
 

Functions

int dig_get_poly_points (int n_lines, struct line_pnts **LPoints, int *direction, struct line_pnts *BPoints)
 
int dig_find_area_poly (struct line_pnts *Points, double *totalarea)
 
double dig_find_poly_orientation (struct line_pnts *Points)
 

Macro Definition Documentation

◆ HUGE_VAL

#define HUGE_VAL   9999999999999.0

Definition at line 24 of file diglib/poly.c.

Function Documentation

◆ dig_find_area_poly()

int dig_find_area_poly ( struct line_pnts Points,
double *  totalarea 
)

Definition at line 100 of file diglib/poly.c.

Referenced by Vect_build_line_area().

◆ dig_find_poly_orientation()

double dig_find_poly_orientation ( struct line_pnts Points)

Definition at line 139 of file diglib/poly.c.

◆ dig_get_poly_points()

int dig_get_poly_points ( int  n_lines,
struct line_pnts **  LPoints,
int *  direction,
struct line_pnts BPoints 
)

Definition at line 37 of file diglib/poly.c.