GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
area_poly2.c File Reference

GIS Library - Planimetric polygon area calculation routines. More...

#include <grass/gis.h>
Include dependency graph for area_poly2.c:

Go to the source code of this file.

Functions

double G_planimetric_polygon_area (const double *x, const double *y, int n)
 Calculates planimetric polygon area. More...
 

Detailed Description

GIS Library - Planimetric polygon area calculation routines.

(C) 2001-2008 by the GRASS Development Team

This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.

Author
GRASS GIS Development Team
Date
1999-2008

Definition in file area_poly2.c.

Function Documentation

double G_planimetric_polygon_area ( const double *  x,
const double *  y,
int  n 
)

Calculates planimetric polygon area.

Parameters
[in]xarray of x values
[in]yarray of y values
[in]nnumber of x,y pairs
Returns
double

Definition at line 29 of file area_poly2.c.

Referenced by G_area_of_polygon().