[GRASS-SVN] r60410 - grass/branches/releasebranch_7_0/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Thu May 22 06:43:43 PDT 2014


Author: hcho
Date: 2014-05-22 06:43:43 -0700 (Thu, 22 May 2014)
New Revision: 60410

Modified:
   grass/branches/releasebranch_7_0/lib/gis/area.c
Log:
libgis: Fixed the description for G_area_of_polygon

Modified: grass/branches/releasebranch_7_0/lib/gis/area.c
===================================================================
--- grass/branches/releasebranch_7_0/lib/gis/area.c	2014-05-22 13:42:25 UTC (rev 60409)
+++ grass/branches/releasebranch_7_0/lib/gis/area.c	2014-05-22 13:43:43 UTC (rev 60410)
@@ -143,12 +143,6 @@
  * <i>n</i> pairs of <i>x,y</i> coordinate vertices. It is used both for 
  * planimetric and latitude-longitude projections.
  * 
- * Returns the area in coordinate units of the polygon described by
- * the <i>n</i> pairs of <i>x,y</i> coordinate vertices for
- * planimetric grids.  If the units for <i>x,y</i> are meters, then
- * the area is in square meters.  If the units are feet, then the area
- * is in square feet, and so on.
- *
  * You should call G_begin_polygon_area_calculations() function before
  * calling this function.
  *
@@ -160,7 +154,7 @@
  * \param y array of y coordinates
  * \param n number of x,y coordinate pairs
  *
- * \return area in coordinate units of the polygon
+ * \return area in square meters of the polygon
  */
 double G_area_of_polygon(const double *x, const double *y, int n)
 {



More information about the grass-commit mailing list