BWAPI
|
00001 /**************************************************************************** 00002 * Core Library Version 1.7, August 2004 00003 * Copyright (c) 1995-2004 Exact Computation Project 00004 * All rights reserved. 00005 * 00006 * This file is part of CORE (http://cs.nyu.edu/exact/core/); you may 00007 * redistribute it under the terms of the Q Public License version 1.0. 00008 * See the file LICENSE.QPL distributed with CORE. 00009 * 00010 * Licensees holding a valid commercial license may use this file in 00011 * accordance with the commercial license agreement provided with the 00012 * software. 00013 * 00014 * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 00015 * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 00016 * 00017 * 00018 * File: CORE.h 00019 * Synopsis: 00020 * The main inclusion file for the Core Library system. 00021 * All "Core programs" must include this file. 00022 * 00023 * Written by 00024 * Chee Yap <yap@cs.nyu.edu> 00025 * Chen Li <chenli@cs.nyu.edu> 00026 * Zilin Du <zilin@cs.nyu.edu> 00027 * 00028 * WWW URL: http://cs.nyu.edu/exact/ 00029 * Email: exact@cs.nyu.edu 00030 * 00031 * $URL: svn+ssh://scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.5-branch/Core/include/CGAL/CORE/CORE.h $ 00032 * $Id: CORE.h 48277 2009-02-28 10:07:47Z glisse $ 00033 ***************************************************************************/ 00034 00035 #ifndef _CORE_CORE_H_ 00036 #define _CORE_CORE_H_ 00037 00038 #include <CGAL/CORE/CoreDefs.h> 00039 #include <CGAL/CORE/Timer.h> 00040 00041 // User can still access machine types: 00042 typedef double machine_double; 00043 typedef long machine_long; 00044 00045 #ifndef CORE_LEVEL 00046 # define CORE_LEVEL DEFAULT_CORE_LEVEL 00047 #endif 00048 00049 #if CORE_LEVEL == 1 00050 # define Real double 00051 # define Expr double 00052 #elif CORE_LEVEL == 2 00053 # include <CGAL/CORE/Real.h> 00054 # undef long 00055 # undef double 00056 # define long Real 00057 # define double Real 00058 # define Expr Real 00059 #elif CORE_LEVEL == 3 00060 # include <CGAL/CORE/Expr.h> 00061 # undef long 00062 # undef double 00063 # define long Expr 00064 # define double Expr 00065 # define Real Expr 00066 #elif CORE_LEVEL == 4 00067 # include <CGAL/CORE/Expr.h> 00068 #endif 00069 00070 #endif // _CORE_CORE_H_ 00071 00072