00001 /* 00002 * This file is part of CrsmSlam. 00003 CrsmSlam is free software: you can redistribute it and/or modify 00004 it under the terms of the GNU General Public License as published by 00005 the Free Software Foundation, either version 3 of the License, or 00006 (at your option) any later version. 00007 00008 CrsmSlam is distributed in the hope that it will be useful, 00009 but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00011 GNU General Public License for more details. 00012 00013 You should have received a copy of the GNU General Public License 00014 along with CrsmSlam. If not, see <http://www.gnu.org/licenses/>. 00015 * 00016 * Author : Manos Tsardoulias, etsardou@gmail.com 00017 * Organization : AUTH, PANDORA Robotics Team 00018 * */ 00019 00020 #ifndef CRSM_POINT_HEADER 00021 #define CRSM_POINT_HEADER 00022 00023 namespace crsm_slam{ 00028 struct CrsmPoint{ 00029 00030 int x; 00031 int y; 00032 00033 float theta; 00034 00040 bool operator==(const CrsmPoint & point){ 00041 if(point.x==this->x && point.y==this->y) 00042 return true; 00043 return false; 00044 } 00045 00050 CrsmPoint(void){} 00051 }; 00052 00053 } 00054 #endif