root/OpenSceneGraph/trunk/src/osgPlugins/dxf/aci.cpp @ 13041

Revision 13041, 8.1 kB (checked in by robert, 3 years ago)

Ran script to remove trailing spaces and tabs

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1/* dxfReader for OpenSceneGraph  Copyright (C) 2005 by GraphArchitecture ( grapharchitecture.com )
2 * Programmed by Paul de Repentigny <pdr@grapharchitecture.com>
3 *
4 * OpenSceneGraph is (C) 2004 Robert Osfield
5 *
6 * This library is provided as-is, without support of any kind.
7 *
8 * Read DXF docs or OSG docs for any related questions.
9 *
10 * You may contact the author if you have suggestions/corrections/enhancements.
11 */
12
13#include "aci.h"
14
15double aci::table[256*3] =
16{
17  /*   dummy   */  0,0,0,
18  /*   1   */  1,0,0,
19  /*   2   */  1,1,0,
20  /*   3   */  0,1,0,
21  /*   4   */  0,1,1,
22  /*   5   */  0,0,1,
23  /*   6   */  1,0,1,
24  /*   7   */  1,1,1,
25  /*   8 user defined  */  1,1,1,
26  /*   9 user defined  */  1,1,1,
27  /*   10   */  1,0,0,
28  /*   11   */  1,0.5,0.5,
29  /*   12   */  0.65,0,0,
30  /*   13   */  0.65,0.325,0.325,
31  /*   14   */  0.5,0,0,
32  /*   15   */  0.5,0.25,0.25,
33  /*   16   */  0.3,0,0,
34  /*   17   */  0.3,0.15,0.15,
35  /*   18   */  0.15,0,0,
36  /*   19   */  0.15,0.075,0.075,
37  /*   20   */  1,0.25,0,
38  /*   21   */  1,0.625,0.5,
39  /*   22   */  0.65,0.1625,0,
40  /*   23   */  0.65,0.4063,0.325,
41  /*   24   */  0.5,0.125,0,
42  /*   25   */  0.5,0.3125,0.25,
43  /*   26   */  0.3,0.075,0,
44  /*   27   */  0.3,0.1875,0.15,
45  /*   28   */  0.15,0.0375,0,
46  /*   29   */  0.15,0.0938,0.075,
47  /*   30   */  1,0.5,0,
48  /*   31   */  1,0.75,0.5,
49  /*   32   */  0.65,0.325,0,
50  /*   33   */  0.65,0.4875,0.325,
51  /*   34   */  0.5,0.25,0,
52  /*   35   */  0.5,0.375,0.25,
53  /*   36   */  0.3,0.15,0,
54  /*   37   */  0.3,0.225,0.15,
55  /*   38   */  0.15,0.075,0,
56  /*   39   */  0.15,0.1125,0.075,
57  /*   40   */  1,0.75,0,
58  /*   41   */  1,0.875,0.5,
59  /*   42   */  0.65,0.4875,0,
60  /*   43   */  0.65,0.5688,0.325,
61  /*   44   */  0.5,0.375,0,
62  /*   45   */  0.5,0.4375,0.25,
63  /*   46   */  0.3,0.225,0,
64  /*   47   */  0.3,0.2625,0.15,
65  /*   48   */  0.15,0.1125,0,
66  /*   49   */  0.15,0.1313,0.075,
67  /*   50   */  1,1,0,
68  /*   51   */  1,1,0.5,
69  /*   52   */  0.65,0.65,0,
70  /*   53   */  0.65,0.65,0.325,
71  /*   54   */  0.5,0.5,0,
72  /*   55   */  0.5,0.5,0.25,
73  /*   56   */  0.3,0.3,0,
74  /*   57   */  0.3,0.3,0.15,
75  /*   58   */  0.15,0.15,0,
76  /*   59   */  0.15,0.15,0.075,
77  /*   60   */  0.75,1,0,
78  /*   61   */  0.875,1,0.5,
79  /*   62   */  0.4875,0.65,0,
80  /*   63   */  0.5688,0.65,0.325,
81  /*   64   */  0.375,0.5,0,
82  /*   65   */  0.4375,0.5,0.25,
83  /*   66   */  0.225,0.3,0,
84  /*   67   */  0.2625,0.3,0.15,
85  /*   68   */  0.1125,0.15,0,
86  /*   69   */  0.1313,0.15,0.075,
87  /*   70   */  0.5,1,0,
88  /*   71   */  0.75,1,0.5,
89  /*   72   */  0.325,0.65,0,
90  /*   73   */  0.4875,0.65,0.325,
91  /*   74   */  0.25,0.5,0,
92  /*   75   */  0.375,0.5,0.25,
93  /*   76   */  0.15,0.3,0,
94  /*   77   */  0.225,0.3,0.15,
95  /*   78   */  0.075,0.15,0,
96  /*   79   */  0.1125,0.15,0.075,
97  /*   80   */  0.25,1,0,
98  /*   81   */  0.625,1,0.5,
99  /*   82   */  0.1625,0.65,0,
100  /*   83   */  0.4063,0.65,0.325,
101  /*   84   */  0.125,0.5,0,
102  /*   85   */  0.3125,0.5,0.25,
103  /*   86   */  0.075,0.3,0,
104  /*   87   */  0.1875,0.3,0.15,
105  /*   88   */  0.0375,0.15,0,
106  /*   89   */  0.0938,0.15,0.075,
107  /*   90   */  0,1,0,
108  /*   91   */  0.5,1,0.5,
109  /*   92   */  0,0.65,0,
110  /*   93   */  0.325,0.65,0.325,
111  /*   94   */  0,0.5,0,
112  /*   95   */  0.25,0.5,0.25,
113  /*   96   */  0,0.3,0,
114  /*   97   */  0.15,0.3,0.15,
115  /*   98   */  0,0.15,0,
116  /*   99   */  0.075,0.15,0.075,
117  /*   100   */  0,1,0.25,
118  /*   101   */  0.5,1,0.625,
119  /*   102   */  0,0.65,0.1625,
120  /*   103   */  0.325,0.65,0.4063,
121  /*   104   */  0,0.5,0.125,
122  /*   105   */  0.25,0.5,0.3125,
123  /*   106   */  0,0.3,0.075,
124  /*   107   */  0.15,0.3,0.1875,
125  /*   108   */  0,0.15,0.0375,
126  /*   109   */  0.075,0.15,0.0938,
127  /*   110   */  0,1,0.5,
128  /*   111   */  0.5,1,0.75,
129  /*   112   */  0,0.65,0.325,
130  /*   113   */  0.325,0.65,0.4875,
131  /*   114   */  0,0.5,0.25,
132  /*   115   */  0.25,0.5,0.375,
133  /*   116   */  0,0.3,0.15,
134  /*   117   */  0.15,0.3,0.225,
135  /*   118   */  0,0.15,0.075,
136  /*   119   */  0.075,0.15,0.1125,
137  /*   120   */  0,1,0.75,
138  /*   121   */  0.5,1,0.875,
139  /*   122   */  0,0.65,0.4875,
140  /*   123   */  0.325,0.65,0.5688,
141  /*   124   */  0,0.5,0.375,
142  /*   125   */  0.25,0.5,0.4375,
143  /*   126   */  0,0.3,0.225,
144  /*   127   */  0.15,0.3,0.2625,
145  /*   128   */  0,0.15,0.1125,
146  /*   129   */  0.075,0.15,0.1313,
147  /*   130   */  0,1,1,
148  /*   131   */  0.5,1,1,
149  /*   132   */  0,0.65,0.65,
150  /*   133   */  0.325,0.65,0.65,
151  /*   134   */  0,0.5,0.5,
152  /*   135   */  0.25,0.5,0.5,
153  /*   136   */  0,0.3,0.3,
154  /*   137   */  0.15,0.3,0.3,
155  /*   138   */  0,0.15,0.15,
156  /*   139   */  0.075,0.15,0.15,
157  /*   140   */  0,0.75,1,
158  /*   141   */  0.5,0.875,1,
159  /*   142   */  0,0.4875,0.65,
160  /*   143   */  0.325,0.5688,0.65,
161  /*   144   */  0,0.375,0.5,
162  /*   145   */  0.25,0.4375,0.5,
163  /*   146   */  0,0.225,0.3,
164  /*   147   */  0.15,0.2625,0.3,
165  /*   148   */  0,0.1125,0.15,
166  /*   149   */  0.075,0.1313,0.15,
167  /*   150   */  0,0.5,1,
168  /*   151   */  0.5,0.75,1,
169  /*   152   */  0,0.325,0.65,
170  /*   153   */  0.325,0.4875,0.65,
171  /*   154   */  0,0.25,0.5,
172  /*   155   */  0.25,0.375,0.5,
173  /*   156   */  0,0.15,0.3,
174  /*   157   */  0.15,0.225,0.3,
175  /*   158   */  0,0.075,0.15,
176  /*   159   */  0.075,0.1125,0.15,
177  /*   160   */  0,0.25,1,
178  /*   161   */  0.5,0.625,1,
179  /*   162   */  0,0.1625,0.65,
180  /*   163   */  0.325,0.4063,0.65,
181  /*   164   */  0,0.125,0.5,
182  /*   165   */  0.25,0.3125,0.5,
183  /*   166   */  0,0.075,0.3,
184  /*   167   */  0.15,0.1875,0.3,
185  /*   168   */  0,0.0375,0.15,
186  /*   169   */  0.075,0.0938,0.15,
187  /*   170   */  0,0,1,
188  /*   171   */  0.5,0.5,1,
189  /*   172   */  0,0,0.65,
190  /*   173   */  0.325,0.325,0.65,
191  /*   174   */  0,0,0.5,
192  /*   175   */  0.25,0.25,0.5,
193  /*   176   */  0,0,0.3,
194  /*   177   */  0.15,0.15,0.3,
195  /*   178   */  0,0,0.15,
196  /*   179   */  0.075,0.075,0.15,
197  /*   180   */  0.25,0,1,
198  /*   181   */  0.625,0.5,1,
199  /*   182   */  0.1625,0,0.65,
200  /*   183   */  0.4063,0.325,0.65,
201  /*   184   */  0.125,0,0.5,
202  /*   185   */  0.3125,0.25,0.5,
203  /*   186   */  0.075,0,0.3,
204  /*   187   */  0.1875,0.15,0.3,
205  /*   188   */  0.0375,0,0.15,
206  /*   189   */  0.0938,0.075,0.15,
207  /*   190   */  0.5,0,1,
208  /*   191   */  0.75,0.5,1,
209  /*   192   */  0.325,0,0.65,
210  /*   193   */  0.4875,0.325,0.65,
211  /*   194   */  0.25,0,0.5,
212  /*   195   */  0.375,0.25,0.5,
213  /*   196   */  0.15,0,0.3,
214  /*   197   */  0.225,0.15,0.3,
215  /*   198   */  0.075,0,0.15,
216  /*   199   */  0.1125,0.075,0.15,
217  /*   200   */  0.75,0,1,
218  /*   201   */  0.875,0.5,1,
219  /*   202   */  0.4875,0,0.65,
220  /*   203   */  0.5688,0.325,0.65,
221  /*   204   */  0.375,0,0.5,
222  /*   205   */  0.4375,0.25,0.5,
223  /*   206   */  0.225,0,0.3,
224  /*   207   */  0.2625,0.15,0.3,
225  /*   208   */  0.1125,0,0.15,
226  /*   209   */  0.1313,0.075,0.15,
227  /*   210   */  1,0,1,
228  /*   211   */  1,0.5,1,
229  /*   212   */  0.65,0,0.65,
230  /*   213   */  0.65,0.325,0.65,
231  /*   214   */  0.5,0,0.5,
232  /*   215   */  0.5,0.25,0.5,
233  /*   216   */  0.3,0,0.3,
234  /*   217   */  0.3,0.15,0.3,
235  /*   218   */  0.15,0,0.15,
236  /*   219   */  0.15,0.075,0.15,
237  /*   220   */  1,0,0.75,
238  /*   221   */  1,0.5,0.875,
239  /*   222   */  0.65,0,0.4875,
240  /*   223   */  0.65,0.325,0.5688,
241  /*   224   */  0.5,0,0.375,
242  /*   225   */  0.5,0.25,0.4375,
243  /*   226   */  0.3,0,0.225,
244  /*   227   */  0.3,0.15,0.2625,
245  /*   228   */  0.15,0,0.1125,
246  /*   229   */  0.15,0.075,0.1313,
247  /*   230   */  1,0,0.5,
248  /*   231   */  1,0.5,0.75,
249  /*   232   */  0.65,0,0.325,
250  /*   233   */  0.65,0.325,0.4875,
251  /*   234   */  0.5,0,0.25,
252  /*   235   */  0.5,0.25,0.375,
253  /*   236   */  0.3,0,0.15,
254  /*   237   */  0.3,0.15,0.225,
255  /*   238   */  0.15,0,0.075,
256  /*   239   */  0.15,0.075,0.1125,
257  /*   240   */  1,0,0.25,
258  /*   241   */  1,0.5,0.625,
259  /*   242   */  0.65,0,0.1625,
260  /*   243   */  0.65,0.325,0.4063,
261  /*   244   */  0.5,0,0.125,
262  /*   245   */  0.5,0.25,0.3125,
263  /*   246   */  0.3,0,0.075,
264  /*   247   */  0.3,0.15,0.1875,
265  /*   248   */  0.15,0,0.0375,
266  /*   249   */  0.15,0.075,0.0938,
267  /*   250   */  0.33,0.33,0.33,
268  /*   251   */  0.464,0.464,0.464,
269  /*   252   */  0.598,0.598,0.598,
270  /*   253   */  0.732,0.732,0.732,
271  /*   254   */  0.866,0.866,0.866,
272  /*   255   */  1,1,1
273};
Note: See TracBrowser for help on using the browser.