cgma
FBDefines.hpp
Go to the documentation of this file.
00001 /*
00002  *
00003  *
00004  * Copyright (C) 2004 Sandia Corporation.  Under the terms of Contract DE-AC04-94AL85000
00005  * with Sandia Corporation, the U.S. Government retains certain rights in this software.
00006  *
00007  * This file is part of facetbool--contact via [email protected]
00008  *
00009  * This library is free software; you can redistribute it and/or
00010  * modify it under the terms of the GNU Lesser General Public
00011  * License as published by the Free Software Foundation; either
00012  * version 2.1 of the License, or (at your option) any later version.
00013  *
00014  * This library is distributed in the hope that it will be useful,
00015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00017  * Lesser General Public License for more details.
00018  *
00019  * You should have received a copy of the GNU Lesser General Public
00020  * License along with this library; if not, write to the Free Software
00021  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00022  *
00023  *
00024  *
00025  */
00026 
00027 #ifndef _FBDEFINES
00028 #define _FBDEFINES
00029 
00030 const double EPSILON = 1.e-7;
00031 const double EPSILON2 = 1.e-14;
00032 const int NUMHASHBINS = 101;
00033 const int INTERIOR_VERT = 7;
00034 const int UNKNOWN_VERT = 8;
00035 const int VERTEX_0 = 1;
00036 const int VERTEX_1 = 2;
00037 const int VERTEX_2 = 3;
00038 const int EDGE_0 = 4;
00039 const int EDGE_1 = 5;
00040 const int EDGE_2 = 6;
00041 const int BDRY_EDGE = 9;
00042 const int INTERIOR_EDGE = -999999999;
00043 const int INTERSECTION_EDGE = -55555555;
00044 const int UNKNOWN = 999999999;
00045 const int LEFT = 1;
00046 const int RIGHT = 2;
00047 const int BOTH = 3;
00048 const int UNSET = -1;
00049 const int BDRY_VERT = 777777777;
00050 const int FB_INSIDE = 1;
00051 const int FB_OUTSIDE = 2;
00052 const int FB_SAME = 4;
00053 const int FB_OPPOSITE = 8;
00054 const int FB_ORIENTATION_INSIDE = 1;
00055 const int FB_ORIENTATION_ON = 0;
00056 const int FB_ORIENTATION_OUTSIDE = 2;
00057 const int FB_ORIENTATION_UNDEFINED = -2;
00058 const int FB_ORIENTATION_SAME = 4;
00059 const int FB_ORIENTATION_OPPOSITE = 8;
00060 const int FB_INVALID_BODY = -3;
00061 
00062 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines