00001
00002
00003
00004
00005
00006
00007
00008
00009 #include "Pose2D.h"
00010
00011 #ifdef Pose2Dnew
00012
00013 In& operator>>(In& stream, RotationVector& rotationVector)
00014 {
00015 stream >> rotationVector.sinus;
00016 stream >> rotationVector.cosinus;
00017 return stream;
00018 }
00019
00020 Out& operator<<(Out& stream, const RotationVector& rotationVector)
00021 {
00022 stream << rotationVector.sinus;
00023 stream << rotationVector.cosinus;
00024 return stream;
00025 }
00026
00027 #endif //Pose2DNew
00028
00029 In& operator>>(In& stream, Pose2D& pose2D)
00030 {
00031 stream >> pose2D.rotation;
00032 stream >> pose2D.translation;
00033 return stream;
00034 }
00035
00036 Out& operator<<(Out& stream, const Pose2D& pose2D)
00037 {
00038 stream << pose2D.rotation;
00039 stream << pose2D.translation;
00040 return stream;
00041 }
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053