GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-36359e2344
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 23 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 98 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 137 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 35 of file diglib/poly.c.