GCommon.h
Go to the documentation of this file.
1 /*
2 * ==========================================================================
3 * This file is part of the implementation of
4 *
5 * <FrameFab: Robotic Fabrication of Frame Shapes>
6 * Yijiang Huang, Juyong Zhang, Xin Hu, Guoxian Song, Zhongyuan Liu, Lei Yu, Ligang Liu
7 * In ACM Transactions on Graphics (Proc. SIGGRAPH Asia 2016)
8 ----------------------------------------------------------------------------
9 * Description: GCommon.h provides some common configuration for fiberprint project.
10 *
11 * Version: 2.0
12 * Created: Oct/10/2015
13 * Updated: Aug/24/2016
14 *
15 * Author: Xin Hu, Yijiang Huang, Guoxian Song
16 * Company: GCL@USTC
17 ----------------------------------------------------------------------------
18 * Copyright (C) 2016 Yijiang Huang, Xin Hu, Guoxian Song, Juyong Zhang
19 * and Ligang Liu.
20 *
21 * FrameFab is free software: you can redistribute it and/or modify
22 * it under the terms of the GNU General Public License as published by
23 * the Free Software Foundation, either version 3 of the License, or
24 * (at your option) any later version.
25 *
26 * FrameFab is distributed in the hope that it will be useful,
27 * but WITHOUT ANY WARRANTY; without even the implied warranty of
28 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29 * GNU General Public License for more details.
30 *
31 * You should have received a copy of the GNU General Public License
32 * along with FrameFab. If not, see <http://www.gnu.org/licenses/>.
33 * ==========================================================================
34 */
35 
36 #pragma once
37 #include <cmath>
38 
39 #ifndef FIBERPRINT_COMMON_H
40 #define FIBERPRINT_COMMON_H
41 
42 #define FRAME3DD_PATHMAX 512
43 #ifndef MAXL
44 #define MAXL 512
45 #endif
46 
47 #define FILENMAX 128
48 
49 #ifndef VERSION
50 #define VERSION "20160826+"
51 #endif
52 
53 #ifndef F_PI
54 #define F_PI 3.14159265358979323846264338327950288419716939937510
55 #endif
56 
57 #ifndef SPT_EPS
58 #define SPT_EPS 0.0000001 // sparse matrix eps
59 #endif
60 
61 #ifndef GEO_EPS // geometry eps
62 #define GEO_EPS 0.001
63 #endif
64 
65 #ifndef STIFF_TOL
66 #define STIFF_TOL 1.0e-9 // tolerance for stiffness RMS error
67 #endif
68 
69 #ifndef MCOND_TOL
70 #define MCOND_TOL 1.0e12 // tolerance for stiffness matrix condition number
71 #endif
72 
73 // Zvert=1: Z axis is vertical... rotate about Y-axis, then rotate about Z-axis
74 // Zvert=0: Y axis is vertical... rotate about Z-axis, then rotate about Y-axis
75 #define Zvert 1
76 
77 #endif /* FIBERPRINT_COMMON_H */
78 


choreo_task_sequence_planner
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:03:14