basic/kinematics/Pose.cpp

Go to the documentation of this file.
00001 
00002 
00003 #include "math\Vector4.h"
00004 #include "math\math2.h"
00005 #include "Pose.h"
00006 
00007 #define DEFAULT_TOL  ROUNDING_ERROR
00008 
00009 void Pose::SetTranslationVector(Vector4& vec)
00010 {
00011   values[0][3] = vec[0]; 
00012   values[1][3] = vec[1]; 
00013   values[2][3] = vec[2];
00014 }
00015 
00016 void Pose::operator =( const Matrix4x4& right )
00017 {
00018   Frame::SetValues( right );
00019 }
00020 
00021 void Pose::operator =( const Frame& right )
00022 {
00023   Frame::SetValues( right );
00024 }
00025 
00026 bool Pose::operator == (const Frame& right) const
00027 {
00028   return Frame::Compare( right, DEFAULT_TOL );
00029 }

Generated on Sat Apr 1 21:30:35 2006 for Motion Planning Kernel by  doxygen 1.4.6-NO