Changeset 198 in pacpusframework
- Timestamp:
- Oct 25, 2013, 11:40:51 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 4 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) -
trunk/src/PacpusTools/CMakeLists.txt
r162 r198 91 91 # Build a library 92 92 # ======================================== 93 pacpus_add_library( 94 ${PROJECT_ NAME} SHARED93 pacpus_add_library(${PROJECT_NAME} SHARED 94 ${PROJECT_HDRS} 95 95 ${PROJECT_SRCS} 96 96 ${PROJECT_MOC_SRCS} -
trunk/src/PacpusTools/src/geodesie.cpp
r162 r198 9 9 10 10 #include <fstream> 11 12 //using boost::math::constants::pi; 11 13 12 14 #ifdef _MSC_VER
Note:
See TracChangeset
for help on using the changeset viewer.