Explorar el Código

libgis: Fixed the description for G_area_of_polygon

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@60409 15284696-431f-4ddb-bdfa-cd5b030d7da7
Huidae Cho hace 11 años
padre
commit
e5b3f74863
Se han modificado 1 ficheros con 1 adiciones y 7 borrados
  1. 1 7
      lib/gis/area.c

+ 1 - 7
lib/gis/area.c

@@ -143,12 +143,6 @@ int G_begin_polygon_area_calculations(void)
  * <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 @@ int G_begin_polygon_area_calculations(void)
  * \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)
 {