GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
diglib/poly.c File Reference
#include <math.h>
#include <grass/Vect.h>
Include dependency graph for diglib/poly.c:

Go to the source code of this file.


#define HUGE_VAL   9999999999999.0


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)

Macro Definition Documentation

#define HUGE_VAL   9999999999999.0

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

Function Documentation

int dig_find_area_poly ( struct line_pnts *  Points,
double *  totalarea 

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

References y.

Referenced by Vect_build_line_area().

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

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

References dig_alloc_points(), point, and triple::x.