Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refs #430: incorrect coordinates in dump polyline
[modules/hydro.git]
/
src
/
HYDROData
/
HYDROData_Lambert93.h
diff --git
a/src/HYDROData/HYDROData_Lambert93.h
b/src/HYDROData/HYDROData_Lambert93.h
index f6e8a16c3fc2083f2771703a2675d9a13b5e83e8..b29d145dcc86d33856df5f7299f49f58d6201b70 100755
(executable)
--- a/
src/HYDROData/HYDROData_Lambert93.h
+++ b/
src/HYDROData/HYDROData_Lambert93.h
@@
-1,44
+1,45
@@
-
-
#ifndef HYDROData_Lambert93_HeaderFile
#ifndef HYDROData_Lambert93_HeaderFile
-
#define HYDROData_Lambert93_HeaderFile
#define HYDROData_Lambert93_HeaderFile
-
+#include <HYDROData.h>
class HYDROData_Lambert93
class HYDROData_Lambert93
-
{
{
-
public:
public:
+ static double HYDRODATA_EXPORT toRad( double theDeg );
+ static double HYDRODATA_EXPORT toDeg( double theRad );
- static double toRad( double theDeg );
-
- static double toDeg( double theRad );
-
+ static void HYDRODATA_EXPORT toXY( double theLatitudeDeg, double theLongitudeDeg,
+ double& theX, double& theY );
+ static void HYDRODATA_EXPORT toGeo( double theX, double theY,
+ double& theLatitudeDeg, double& theLongitudeDeg,
+ double theEps = 1e-5 );
- static void toXY( double theLatitudeDeg, double theLongitudeDeg,
+ static void HYDRODATA_EXPORT DMSToDeg( int theDeg,
+ int theMin,
+ double theSec,
+ double& theDegOut );
- double& theX, double& theY );
+ static void HYDRODATA_EXPORT DMSToSec( int theDeg,
+ int theMin,
+ double theSec,
+ double& theSecOut );
- static void toGeo( double theX, double theY,
+ static void HYDRODATA_EXPORT degToDMS( double theDegIn,
+ int& theDeg,
+ int& theMin,
+ double& theSec );
- double& theLatitudeDeg, double& theLongitudeDeg,
-
- double theEps );
+ static void HYDRODATA_EXPORT secToDMS( double theSecIn,
+ int& theDeg,
+ int& theMin,
+ double& theSec );
private:
private:
-
- static double calc_rho( double phi );
-
- static double calc_phi_inv( double rho, double eps );
-
- static double calc_phi_ign( double rho, double eps );
-
+ static double calc_rho( double phi );
+ static double calc_phi_inv( double rho, double eps );
+ static double calc_phi_ign( double rho, double eps );
};
};
-
-
#endif
#endif
-