Go to the documentation of this file.00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 #ifndef OPERATOROVERLOAD_HPP_
00009 #define OPERATOROVERLOAD_HPP_
00010 
00011 #include <telekyb_defines/telekyb_defines.hpp>
00012 
00013 
00014 #include <Eigen/Dense>
00015 
00016 
00017 namespace TELEKYB_NAMESPACE
00018 {
00019 
00020 
00021 
00022 
00023 template<typename _Scalar, int _Options>
00024 bool operator==(const Eigen::Quaternion<_Scalar,_Options>& lhs, const Eigen::Quaternion<_Scalar,_Options>& rhs)
00025 {
00026         return (lhs.vec() == rhs.vec()) && (lhs.w() == rhs.w());
00027 }
00028 
00029 template<typename _Scalar, int _Options>
00030 bool operator!=(const Eigen::Quaternion<_Scalar,_Options>& lhs, const Eigen::Quaternion<_Scalar,_Options>& rhs)
00031 {
00032         return !(lhs == rhs);
00033 }
00034 
00035 } 
00036 
00037 #endif