1 /* Copyright (C) 1992-1998 The Geometry Center
2  * Copyright (C) 1998-2000 Stuart Levy, Tamara Munzner, Mark Phillips
3  *
4  * This file is part of Geomview.
5  *
6  * Geomview is free software; you can redistribute it and/or modify it
7  * under the terms of the GNU Lesser General Public License as published
8  * by the Free Software Foundation; either version 2, or (at your option)
9  * any later version.
10  *
11  * Geomview is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with Geomview; see the file COPYING.  If not, write
18  * to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139,
19  * USA, or visit http://www.gnu.org.
20  */
21 
22 
23 /* Authors: Charlie Gunn, Stuart Levy, Tamara Munzner, Mark Phillips */
24 
25 #ifndef MESHFLAGDEFS
26 #define MESHFLAGDEFS
27 
28 #include "mg.h"
29 #include "geomclass.h"
30 
31 #define MESH_C		VERT_C
32 #define MESH_N		VERT_N
33 #define	MESH_4D		VERT_4D
34 #define MESH_U		VERT_ST
35 #define MESH_UWRAP	GEOMFLAG(0x001)
36 #define MESH_VWRAP	GEOMFLAG(0x002)
37 #define MESH_NQ		GEOMFLAG(0x020)
38 #define MESH_EVERT	GEOMFLAG(0x040)
39 #define	MESH_BINARY	GEOMFLAG(0x080)
40 #define	MESH_Z		GEOMFLAG(0x100)
41 
42 #define MESH_MGWRAP(mfl) ((mfl) >> GEOMFL_SHIFT)
43 
44 #endif /*MESHFLAGDEFS*/
45