Changeset 311 in pacpusframework for branches/0.0.x/include/Pacpus/PacpusTools
- Timestamp:
- Jul 23, 2014, 6:01:08 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.0.x/include/Pacpus/PacpusTools/geodesie.h
r116 r311 19 19 #include <vector> 20 20 21 #include "Pacpus\kernel\PacpusToolsConfig.h" 22 23 21 24 namespace Geodesie { 22 25 … … 35 38 /// @todo Documentation 36 39 /// @todo Rewrite! 37 struct Matrice40 struct PACPUSTOOLS_API Matrice 38 41 { 39 42 /// Copy ctor … … 66 69 }; 67 70 68 Matrice TransMat(const Matrice A);69 70 Matrice P rodMat(const Matrice A,const Matrice B);71 Matrice PACPUSTOOLS_API TransMat(const Matrice A); 72 73 Matrice PACPUSTOOLS_API ProdMat(const Matrice A,const Matrice B); 71 74 void Write(const Matrice A,std::ostream& out); 72 75 73 76 //////////////////////////////////////////////////////////////////////// 74 77 /// @todo Documentation 75 class Raf9878 class PACPUSTOOLS_API Raf98 76 79 { 77 80 public: … … 99 102 100 103 //////////////////////////////////////////////////////////////////////// 101 inline double Deg2Rad(double deg) {return deg*M_PI/180.0;}102 inline double Rad2Deg(double rad) {return rad*180.0/M_PI;}104 inline double PACPUSTOOLS_API Deg2Rad(double deg) {return deg*M_PI/180.0;} 105 inline double PACPUSTOOLS_API Rad2Deg(double rad) {return rad*180.0/M_PI;} 103 106 //////////////////////////////////////////////////////////////////////// 104 107 … … 123 126 124 127 //////////////////////////////////////////////////////////////////////// 125 void Geographique_2_Lambert93(const Raf98& raf98,double lambda,double phi,double he,Matrice in,double& E,double& N,double& h,Matrice& out);126 void Geographique_2_Lambert93(const Raf98& raf98,double lambda,double phi,double he,double& E,double& N,double& h);127 void Lambert93_2_Geographique(const Raf98& raf98,double E,double N,double h,double& lambda,double& phi,double& he);128 void Lambert93_2_Geographique(const Raf98& raf98,double E,double N,double h,Matrice in,double& lambda,double& phi,double& he,Matrice& out);128 void PACPUSTOOLS_API Geographique_2_Lambert93(const Raf98& raf98,double lambda,double phi,double he,Matrice in,double& E,double& N,double& h,Matrice& out); 129 void PACPUSTOOLS_API Geographique_2_Lambert93(const Raf98& raf98,double lambda,double phi,double he,double& E,double& N,double& h); 130 void PACPUSTOOLS_API Lambert93_2_Geographique(const Raf98& raf98,double E,double N,double h,double& lambda,double& phi,double& he); 131 void PACPUSTOOLS_API Lambert93_2_Geographique(const Raf98& raf98,double E,double N,double h,Matrice in,double& lambda,double& phi,double& he,Matrice& out); 129 132 /// Convert from geographique to ECEF. 130 133 /// @param[in] longitude Longitude in radian. 131 134 /// @param[in] latitude Latitude in radian. 132 135 /// @param[in] he Height in meter. 133 void Geographique_2_ECEF(double longitude, double latitude, double he, double& x, double& y, double& z);136 void PACPUSTOOLS_API Geographique_2_ECEF(double longitude, double latitude, double he, double& x, double& y, double& z); 134 137 /// Convert from ECEF two ENU. 135 138 /// @param[in] lon0 Longitude of the origin in radian. 136 139 /// @param[in] lat0 Latitude of the origin in radian. 137 140 /// @param[in] he0 Height of the origin in radian. 138 void ECEF_2_ENU(double x,double y,double z,double& e,double& n,double& u,double lon0,double lat0,double he0);141 void PACPUSTOOLS_API ECEF_2_ENU(double x,double y,double z,double& e,double& n,double& u,double lon0,double lat0,double he0); 139 142 //////////////////////////////////////////////////////////////////////// 140 143 141 144 ///ALGO0001 142 145 /// @todo Rename 143 double LatitueIsometrique(double latitude,double e);146 double PACPUSTOOLS_API LatitueIsometrique(double latitude,double e); 144 147 ///ALGO0002 145 148 /// @todo Rename 146 double LatitueIsometrique2Lat(double latitude_iso,double e,double epsilon);149 double PACPUSTOOLS_API LatitueIsometrique2Lat(double latitude_iso,double e,double epsilon); 147 150 148 151 ///ALGO0003 149 void Geo2ProjLambert(152 void PACPUSTOOLS_API Geo2ProjLambert( 150 153 double lambda,double phi, 151 154 double n, double c,double e, … … 153 156 double& X,double& Y); 154 157 ///ALGO0004 155 void P roj2GeoLambert(158 void PACPUSTOOLS_API Proj2GeoLambert( 156 159 double X,double Y, 157 160 double n, double c,double e, … … 160 163 double& lambda,double& phi); 161 164 162 double ConvMerApp(double longitude);165 double PACPUSTOOLS_API ConvMerApp(double longitude); 163 166 164 167 /// Converts Cartesian (x, y) coordinates to polar coordinates (r, theta)
Note:
See TracChangeset
for help on using the changeset viewer.