GeoGen Development snapshot a3
|
00001 /* 00002 00003 This file is part of GeoGen. 00004 00005 GeoGen is free software: you can redistribute it and/or modify 00006 it under the terms of the GNU General Public License as published by 00007 the Free Software Foundation, either version 2 of the License, or 00008 (at your option) any later version. 00009 00010 GeoGen is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License 00016 along with GeoGen. If not, see <http://www.gnu.org/licenses/>. 00017 00018 */ 00019 00024 #pragma once 00025 00026 #include "ggen_amplitudes.h" 00027 00031 class GGen_Point{ 00032 public: 00033 GGen_CoordOffset x; 00034 GGen_CoordOffset y; 00035 00041 GGen_Point(GGen_CoordOffset x, GGen_CoordOffset y); 00042 00047 GGen_CoordOffset GetX(); 00048 00053 GGen_CoordOffset GetY(); 00054 00059 void SetX(GGen_CoordOffset x); 00060 00065 void SetY(GGen_CoordOffset y); 00066 00072 void SetCoords(GGen_CoordOffset x, GGen_CoordOffset y); 00073 };