Go to the documentation of this file.00001 #ifndef UTILITY_H
00002 #define UTILITY_H
00003
00004 #include <iostream>
00005 #include <vector>
00006 #include <string>
00007 #include <sstream>
00008 #include <math.h>
00009
00010 #define PI 3.14159f
00011
00012 class Utility {
00013 public:
00014
00015 Utility();
00016 ~Utility() {}
00017
00018 const float euclideanDistance(const std::vector<float> a, const std::vector<float> b) const;
00019
00020 const float findAngleFromAToB(const std::vector<float> a, const std::vector<float> b) const;
00021
00022 const float findDistanceBetweenAngles(const float a1, const float a2) const;
00023
00024 const float displaceAngle(const float a1, float a2) const;
00025
00026 const float getEuclideanDist(const std::vector<float> a, std::vector<float> b) const;
00027
00028 };
00029 #endif