Sfoglia il codice sorgente

libgis: noting necessary call in documentation

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54720 15284696-431f-4ddb-bdfa-cd5b030d7da7
Vaclav Petras 12 anni fa
parent
commit
0619f52281
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 4 1
      lib/gis/area.c

+ 4 - 1
lib/gis/area.c

@@ -148,7 +148,10 @@ int G_begin_polygon_area_calculations(void)
  * 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.
+ *
  * <b>Note:</b> If the database is planimetric with the non-meter grid, 
  * this routine performs the required unit conversion to produce square 
  * meters.