00001 // Copyright (c) 2009-2010 INRIA Sophia-Antipolis (France). 00002 // All rights reserved. 00003 // 00004 //This file is part of ESBTL. 00005 // 00006 //ESBTL is free software: you can redistribute it and/or modify 00007 //it under the terms of the GNU General Public License as published by 00008 //the Free Software Foundation, either version 3 of the License, or 00009 //(at your option) any later version. 00010 // 00011 //ESBTL is distributed in the hope that it will be useful, 00012 //but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 //GNU General Public License for more details. 00015 // 00016 //You should have received a copy of the GNU General Public License 00017 //along with ESBTL. If not, see <http://www.gnu.org/licenses/>. 00018 // 00019 // 00020 //Additional permission under GNU GPL version 3 section 7 00021 // 00022 //If you modify this Library, or any covered work, by linking or 00023 //combining it with CGAL (or a modified version of that library), the 00024 //licensors of this Library grant you additional permission to convey 00025 //the resulting work. Corresponding Source for a non-source form of 00026 //such a combination shall include the source code for the parts of CGAL 00027 //used as well as that of the covered work. 00028 // 00029 // 00030 // 00031 // Author(s) : Sébastien Loriot 00032 00033 00034 00035 #ifndef ESBTL_CONSTANTS_H 00036 #define ESBTL_CONSTANTS_H 00037 00038 #define DECLARE_AND_ACCESS(NAME,TYPE) \ 00039 private: \ 00040 TYPE NAME##_;\ 00041 public: \ 00042 const TYPE& NAME() const{ \ 00043 return NAME##_; \ 00044 } \ 00045 TYPE& NAME(){ \ 00046 return NAME##_; \ 00047 } 00048 00049 #define NO_CHARGE 66 00050 #define NO_FLOAT std::numeric_limits<double>::max() 00051 00052 //line_selector constant 00053 #define RMK 0 00054 #define DISCARD -1 00055 00056 #endif //ESBTL_CONSTANTS_H