[GRASS-SVN] r58168 - grass/branches/develbranch_6/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Nov 7 21:25:37 PST 2013
Author: neteler
Date: 2013-11-07 21:25:37 -0800 (Thu, 07 Nov 2013)
New Revision: 58168
Modified:
grass/branches/develbranch_6/lib/gis/area_poly1.c
Log:
libgis/dox: verbatim for equations in G_ellipsoid_polygon_area (backport of r58167)
Modified: grass/branches/develbranch_6/lib/gis/area_poly1.c
===================================================================
--- grass/branches/develbranch_6/lib/gis/area_poly1.c 2013-11-07 15:31:24 UTC (rev 58167)
+++ grass/branches/develbranch_6/lib/gis/area_poly1.c 2013-11-08 05:25:37 UTC (rev 58168)
@@ -104,15 +104,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