Prototype and description of the function umfgn2d() (Function of the unlock requiring group "Notation calculations") |

umfgn2d() Converting of a geographic coordinate in [gon] notation to the [degrees] notation. Prototype of the DLL function in C++ syntax (attend lower case!): extern "C" __declspec(dllimport) unsigned long __stdcall umfgn2d( double *nGeoCoord); Prototype of the DLL function in Visual Objects syntax: _DLL function umfgn2d(; nGeoCoord ref real8); // 4 Byte as logic pascal:geodll32.umfgn2d // 4 Byte The function transforms a geographic coordinate in [gon] notation (ggg.nnn) to a geographic coordinate in [degrees] notation (ggg.nnn). 360 degrees corresponds to 400 gon. The parameters are passed and/or returned as follows: nGeoCoord Geographic coordinate (longitude or latitude) by reference. (ref) The original coordinate is overwritten with the result of the calculation. returnVal In case of an error the function returns FALSE, otherwise TRUE. Unlocking: This function is a component of the unlock requiring function group "notation calculations". It is unlocked for unrestricted use together with the other functions of the group by passing the unlock parameters, acquired from the software distribution company, trough the function setunlockcode(). Without unlocking only a few function calls for test purposes (shareware principle) are possible. |