[GRASS5] [Bug 148] geodesic.h - #define problems (also GRASS related)

bugzilla-daemon at remotesensing.org bugzilla-daemon at remotesensing.org
Thu May 30 09:44:58 EDT 2002


http://bugzilla.remotesensing.org/show_bug.cgi?id=148

warmerdam at pobox.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From warmerdam at pobox.com  2002-05-30 09:44 -------
I have renamed a, S and f to geod_a, geod_S and geod_f in the include file
and the source files depending on it.  This reduces the horrible name conflicts
implicit in geodesic.h. 

However, the geodesic code should really be seriously refactored to not use 
global variables for GEODESIC, n_alpha, n_S, to_meter, fr_meter, and del_alpha.
They should be put in a structure, and passed to the various functions.  Concept!

That; however, will have to wait for another day.



More information about the grass-dev mailing list