TexGen
ReedData.h
Go to the documentation of this file.
1/*=============================================================================
2TexGen: Geometric textile modeller.
3Copyright (C) 2014 Louise Brown
4
5This program is free software; you can redistribute it and/or
6modify it under the terms of the GNU General Public License
7as published by the Free Software Foundation; either version 2
8of the License, or (at your option) any later version.
9
10This program is distributed in the hope that it will be useful,
11but WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13GNU General Public License for more details.
14
15You should have received a copy of the GNU General Public License
16along with this program; if not, write to the Free Software
17Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18=============================================================================*/
19
20#pragma once
21
22namespace TexGen
23{
24 using namespace std;
25
26 #define NUM_REED_SIZES 30
27 static double ReedThickness[NUM_REED_SIZES] = { 0.1, 0.11, 0.12, 0.13, 0.14, 0.15, 0.16, 0.17, 0.18, 0.19, 0.2,
28 0.22, 0.24, 0.26, 0.28, 0.31, 0.32, 0.34,
29 0.36, 0.37, 0.4, 0.45, 0.5, 0.6,
30 0.65, 0.7, 0.8,
31 1.0, 1.25, 1.6 };
32
34 {
35 public:
36 CReedData();
37 virtual ~CReedData(void);
38 double GetClosestReedThickness( double dThickness );
39 protected:
40
41 };
42}; // namespace TexGen
#define CLASS_DECLSPEC
Definition: Misc.h:35
#define NUM_REED_SIZES
Definition: ReedData.h:26
Namespace containing a series of customised math operations not found in the standard c++ library.
static double ReedThickness[NUM_REED_SIZES]
Definition: ReedData.h:27