forked from dengwirda/jigsaw
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathjigsaw_const.h
More file actions
94 lines (77 loc) · 3.2 KB
/
jigsaw_const.h
File metadata and controls
94 lines (77 loc) · 3.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
/*
--------------------------------------------------------
* Constants for the JIGSAW meshing library.
--------------------------------------------------------
*
* This program may be freely redistributed under the
* condition that the copyright notices (including this
* entire header) are not removed, and no compensation
* is received through use of the software. Private,
* research, and institutional use is free. You may
* distribute modified versions of this code UNDER THE
* CONDITION THAT THIS CODE AND ANY MODIFICATIONS MADE
* TO IT IN THE SAME FILE REMAIN UNDER COPYRIGHT OF THE
* ORIGINAL AUTHOR, BOTH SOURCE AND OBJECT CODE ARE
* MADE FREELY AVAILABLE WITHOUT CHARGE, AND CLEAR
* NOTICE IS GIVEN OF THE MODIFICATIONS. Distribution
* of this code as part of a commercial system is
* permissible ONLY BY DIRECT ARRANGEMENT WITH THE
* AUTHOR. (If you are not directly supplying this
* code to a customer, and you are instead telling them
* how they can obtain it for free, then you are not
* required to make any arrangement with me.)
*
* Disclaimer: Neither I nor: Columbia University, The
* Massachusetts Institute of Technology, The
* University of Sydney, nor The National Aeronautics
* and Space Administration warrant this code in any
* way whatsoever. This code is provided "as-is" to be
* used at your own risk.
*
--------------------------------------------------------
*
* Last updated: 20 December, 2018
*
* Copyright 2013-2018
* Darren Engwirda
* de2363@columbia.edu
* https://github.com/dengwirda/
*
--------------------------------------------------------
*/
/*
--------------------------------------------------------
* return codes for JIGSAW.
--------------------------------------------------------
*/
# define JIGSAW_UNKNOWN_ERROR -1
# define JIGSAW_NO_ERROR +0
# define JIGSAW_FILE_NOT_LOCATED +2
# define JIGSAW_FILE_NOT_CREATED +3
# define JIGSAW_INVALID_ARGUMENT +4
/*
--------------------------------------------------------
* constants for JIGSAW.
--------------------------------------------------------
*/
# define JIGSAW_NULL_FLAG -100
# define JIGSAW_EUCLIDEAN_MESH +100
# define JIGSAW_EUCLIDEAN_GRID +101
# define JIGSAW_EUCLIDEAN_DUAL +102
# define JIGSAW_ELLIPSOID_MESH +200
# define JIGSAW_ELLIPSOID_GRID +201
# define JIGSAW_ELLIPSOID_DUAL +202
# define JIGSAW_POINT_TAG +10
# define JIGSAW_EDGE2_TAG +20
# define JIGSAW_TRIA3_TAG +30
# define JIGSAW_QUAD4_TAG +40
# define JIGSAW_TRIA4_TAG +50
# define JIGSAW_HEXA8_TAG +60
# define JIGSAW_WEDG6_TAG +70
# define JIGSAW_PYRA5_TAG +80
# define JIGSAW_HFUN_RELATIVE +300
# define JIGSAW_HFUN_ABSOLUTE +301
# define JIGSAW_KERN_DELFRONT +400
# define JIGSAW_KERN_DELAUNAY +401
# define JIGSAW_BNDS_TRIACELL +402
# define JIGSAW_BNDS_DUALCELL +403