Changeset 198 in pacpusframework for trunk/include/Pacpus
- Timestamp:
- Oct 25, 2013, 11:40:51 AM (11 years ago)
- Location:
- trunk/include/Pacpus
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/Pacpus/PacpusTools/geodesie.h
r162 r198 15 15 #define GEODESIE_H 16 16 17 #include "PacpusToolsConfig.h" 18 19 //#include <boost/math/constants/constants.hpp> 17 20 #include <cmath> 18 21 #include <iostream> … … 21 24 #include <QMatrix4x4> 22 25 #include <QVector3D> 23 24 #include "PacpusToolsConfig.h"25 26 26 27 namespace Geodesie { … … 72 73 73 74 PACPUSTOOLS_API Matrice TransMat(const Matrice A); 74 PACPUSTOOLS_API Matrice ProdMat(const Matrice A, const Matrice B);75 PACPUSTOOLS_API void Write(const Matrice A, std::ostream& out);75 PACPUSTOOLS_API Matrice ProdMat(const Matrice A, const Matrice B); 76 PACPUSTOOLS_API void Write(const Matrice A, std::ostream & out); 76 77 77 78 //////////////////////////////////////////////////////////////////////// … … 105 106 inline double Deg2Rad(double deg) 106 107 { 107 return deg *M_PI/180.0;108 return deg * M_PI / 180.0; 108 109 } 109 110 110 111 inline double Rad2Deg(double rad) 111 112 { 112 return rad *180.0/M_PI;113 return rad * 180.0 / M_PI; 113 114 } 114 115 -
trunk/include/Pacpus/kernel/pacpus.h
r196 r198 17 17 18 18 #include <Pacpus/kernel/road_time.h> 19 20 /// Pi math constant21 ///22 /// @deprecated Use M_PI from \<cmath\>.23 #ifndef PACPUS_PI24 # define PACPUS_PI 3.141592625 #endif26 19 27 20 /// @def PACPUS_DEPRECATED(func)
Note:
See TracChangeset
for help on using the changeset viewer.