[GRASS-SVN] r58167 - grass/trunk/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Nov 7 07:31:24 PST 2013


Author: wenzeslaus
Date: 2013-11-07 07:31:24 -0800 (Thu, 07 Nov 2013)
New Revision: 58167

Modified:
   grass/trunk/lib/gis/area_poly1.c
Log:
libgis/dox: verbatim for equations in G_ellipsoid_polygon_area

Modified: grass/trunk/lib/gis/area_poly1.c
===================================================================
--- grass/trunk/lib/gis/area_poly1.c	2013-11-07 13:00:35 UTC (rev 58166)
+++ grass/trunk/lib/gis/area_poly1.c	2013-11-07 15:31:24 UTC (rev 58167)
@@ -97,15 +97,21 @@
  * straight line.  For two consecutive vertices of the polygon, 
  * (lat_1, long1) and (lat_2,long_2), the line joining them (i.e., the
  * polygon's side) is defined by:
- *                                     lat_2  -  lat_1 
- *     lat = lat_1 + (long - long_1) * ---------------
- *                                     long_2 - long_1
+ *
+ \verbatim
+                                     lat_2  -  lat_1 
+     lat = lat_1 + (long - long_1) * ---------------
+                                     long_2 - long_1
+ \endverbatim
+ *
  * where long_1 < long < long_2.
  *   The values of QbarA, etc., are determined by the integration of
  * the Q function.  Into www.integral-calculator.com, paste this 
  * expression :
  *
- * sin(x)+ (2/3)e^2(sin(x))^3 + (3/5)e^4(sin(x))^5 + (4/7)e^6(sin(x))^7
+ \verbatim
+ sin(x)+ (2/3)e^2(sin(x))^3 + (3/5)e^4(sin(x))^5 + (4/7)e^6(sin(x))^7
+ \endverbatim
  *
  * and you'll get their values.  (Last checked 30 Oct 2013). 
  *



More information about the grass-commit mailing list