Moka kernel
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
gmg-inline.icc
Go to the documentation of this file.
1
/*
2
* lib-gmapkernel : Un noyau de 3-G-cartes et des opérations.
3
* Copyright (C) 2004, Moka Team, Université de Poitiers, Laboratoire SIC
4
* http://www.sic.sp2mi.univ-poitiers.fr/
5
* Copyright (C) 2009, Guillaume Damiand, CNRS, LIRIS,
6
* guillaume.damiand@liris.cnrs.fr, http://liris.cnrs.fr/
7
*
8
* This file is part of lib-gmapkernel
9
*
10
* This program is free software: you can redistribute it and/or modify
11
* it under the terms of the GNU Lesser General Public License as published by
12
* the Free Software Foundation, either version 3 of the License, or
13
* (at your option) any later version.
14
*
15
* This program is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU Lesser General Public License for more details.
19
*
20
* You should have received a copy of the GNU Lesser General Public License
21
* along with this program. If not, see <http://www.gnu.org/licenses/>.
22
*/
23
24
//******************************************************************************
25
#include <list>
26
#include <queue>
27
28
#include "
dynamic-coverage.hh
"
29
#include "
static-coverage.hh
"
30
//******************************************************************************
31
namespace
GMap3d
32
{
33
//******************************************************************************
34
INLINE
35
CDart
*
CGMapGeneric::alpha01
(
CDart
* ADart)
const
36
{
37
return
alpha1
(
alpha0
(ADart));
38
}
39
//******************************************************************************
40
INLINE
41
CDart
*
CGMapGeneric::alpha010
(
CDart
* ADart)
const
42
{
43
return
alpha0
(
alpha01
(ADart));
44
}
45
//******************************************************************************
46
INLINE
47
CDart
*
CGMapGeneric::alpha0101
(
CDart
* ADart)
const
48
{
49
return
alpha1
(
alpha010
(ADart));
50
}
51
//******************************************************************************
52
INLINE
53
CDart
*
CGMapGeneric::alpha0101210
(
CDart
* ADart)
const
54
{
55
return
alpha210
(
alpha0101
(ADart));
56
}
57
//******************************************************************************
58
INLINE
59
CDart
*
CGMapGeneric::alpha01010
(
CDart
* ADart)
const
60
{
61
return
alpha0
(
alpha0101
(ADart));
62
}
63
//******************************************************************************
64
INLINE
65
CDart
*
CGMapGeneric::alpha01021
(
CDart
* ADart)
const
66
{
67
return
alpha21
(
alpha010
(ADart));
68
}
69
//******************************************************************************
70
INLINE
71
CDart
*
CGMapGeneric::alpha0102101
(
CDart
* ADart)
const
72
{
73
return
alpha2101
(
alpha010
(ADart));
74
}
75
//******************************************************************************
76
INLINE
77
CDart
*
CGMapGeneric::alpha010212
(
CDart
* ADart)
const
78
{
79
return
alpha212
(
alpha010
(ADart));
80
}
81
//******************************************************************************
82
INLINE
83
CDart
*
CGMapGeneric::alpha012
(
CDart
* ADart)
const
84
{
85
return
alpha2
(
alpha01
(ADart));
86
}
87
//******************************************************************************
88
INLINE
89
CDart
*
CGMapGeneric::alpha0123
(
CDart
* ADart)
const
90
{
91
return
alpha3
(
alpha012
(ADart));
92
}
93
//******************************************************************************
94
INLINE
95
CDart
*
CGMapGeneric::alpha0121
(
CDart
* ADart)
const
96
{
97
return
alpha1
(
alpha012
(ADart));
98
}
99
//******************************************************************************
100
INLINE
101
CDart
*
CGMapGeneric::alpha012321
(
CDart
* ADart)
const
102
{
103
return
alpha21
(
alpha0123
(ADart));
104
}
105
//******************************************************************************
106
INLINE
107
CDart
*
CGMapGeneric::alpha02
(
CDart
* ADart)
const
108
{
109
return
alpha2
(
alpha0
(ADart));
110
}
111
//******************************************************************************
112
INLINE
113
CDart
*
CGMapGeneric::alpha020
(
CDart
* ADart)
const
114
{
115
return
alpha0
(
alpha02
(ADart));
116
}
117
//******************************************************************************
118
INLINE
119
CDart
*
CGMapGeneric::alpha021
(
CDart
* ADart)
const
120
{
121
return
alpha1
(
alpha02
(ADart));
122
}
123
//******************************************************************************
124
INLINE
125
CDart
*
CGMapGeneric::alpha0210
(
CDart
* ADart)
const
126
{
127
return
alpha0
(
alpha021
(ADart));
128
}
129
//******************************************************************************
130
INLINE
131
CDart
*
CGMapGeneric::alpha02101
(
CDart
* ADart)
const
132
{
133
return
alpha1
(
alpha0210
(ADart));
134
}
135
//******************************************************************************
136
INLINE
137
CDart
*
CGMapGeneric::alpha02121
(
CDart
* ADart)
const
138
{
139
return
alpha21
(
alpha021
(ADart));
140
}
141
//******************************************************************************
142
INLINE
143
CDart
*
CGMapGeneric::alpha023
(
CDart
* ADart)
const
144
{
145
return
alpha3
(
alpha02
(ADart));
146
}
147
//******************************************************************************
148
INLINE
149
CDart
*
CGMapGeneric::alpha03
(
CDart
* ADart)
const
150
{
151
return
alpha3
(
alpha0
(ADart));
152
}
153
//******************************************************************************
154
INLINE
155
CDart
*
CGMapGeneric::alpha030
(
CDart
* ADart)
const
156
{
157
return
alpha0
(
alpha03
(ADart));
158
}
159
//******************************************************************************
160
INLINE
161
CDart
*
CGMapGeneric::alpha10
(
CDart
* ADart)
const
162
{
163
return
alpha0
(
alpha1
(ADart));
164
}
165
//******************************************************************************
166
INLINE
167
CDart
*
CGMapGeneric::alpha101
(
CDart
* ADart)
const
168
{
169
return
alpha1
(
alpha10
(ADart));
170
}
171
//******************************************************************************
172
INLINE
173
CDart
*
CGMapGeneric::alpha1010
(
CDart
* ADart)
const
174
{
175
return
alpha0
(
alpha101
(ADart));
176
}
177
//******************************************************************************
178
INLINE
179
CDart
*
CGMapGeneric::alpha10101
(
CDart
* ADart)
const
180
{
181
return
alpha1
(
alpha1010
(ADart));
182
}
183
//******************************************************************************
184
INLINE
185
CDart
*
CGMapGeneric::alpha1010101
(
CDart
* ADart)
const
186
{
187
return
alpha01
(
alpha10101
(ADart));
188
}
189
//******************************************************************************
190
INLINE
191
CDart
*
CGMapGeneric::alpha1012
(
CDart
* ADart)
const
192
{
193
return
alpha2
(
alpha101
(ADart));
194
}
195
//******************************************************************************
196
INLINE
197
CDart
*
CGMapGeneric::alpha1012101
(
CDart
* ADart)
const
198
{
199
return
alpha2101
(
alpha101
(ADart));
200
}
201
//******************************************************************************
202
INLINE
203
CDart
*
CGMapGeneric::alpha10121
(
CDart
* ADart)
const
204
{
205
return
alpha1
(
alpha1012
(ADart));
206
}
207
//******************************************************************************
208
INLINE
209
CDart
*
CGMapGeneric::alpha101201
(
CDart
* ADart)
const
210
{
211
return
alpha01
(
alpha1012
(ADart));
212
}
213
//******************************************************************************
214
INLINE
215
CDart
*
CGMapGeneric::alpha101232
(
CDart
* ADart)
const
216
{
217
return
alpha32
(
alpha1012
(ADart));
218
}
219
//******************************************************************************
220
INLINE
221
CDart
*
CGMapGeneric::alpha102
(
CDart
* ADart)
const
222
{
223
return
alpha2
(
alpha10
(ADart));
224
}
225
//******************************************************************************
226
INLINE
227
CDart
*
CGMapGeneric::alpha1021
(
CDart
* ADart)
const
228
{
229
return
alpha1
(
alpha102
(ADart));
230
}
231
//******************************************************************************
232
INLINE
233
CDart
*
CGMapGeneric::alpha12
(
CDart
* ADart)
const
234
{
235
return
alpha2
(
alpha1
(ADart));
236
}
237
//******************************************************************************
238
INLINE
239
CDart
*
CGMapGeneric::alpha121
(
CDart
* ADart)
const
240
{
241
return
alpha1
(
alpha12
(ADart));
242
}
243
//******************************************************************************
244
INLINE
245
CDart
*
CGMapGeneric::alpha1210
(
CDart
* ADart)
const
246
{
247
return
alpha0
(
alpha121
(ADart));
248
}
249
//******************************************************************************
250
INLINE
251
CDart
*
CGMapGeneric::alpha12101
(
CDart
* ADart)
const
252
{
253
return
alpha1
(
alpha1210
(ADart));
254
}
255
//******************************************************************************
256
INLINE
257
CDart
*
CGMapGeneric::alpha1212
(
CDart
* ADart)
const
258
{
259
return
alpha2
(
alpha121
(ADart));
260
}
261
//******************************************************************************
262
INLINE
263
CDart
*
CGMapGeneric::alpha123
(
CDart
* ADart)
const
264
{
265
return
alpha3
(
alpha12
(ADart));
266
}
267
//******************************************************************************
268
INLINE
269
CDart
*
CGMapGeneric::alpha1232
(
CDart
* ADart)
const
270
{
271
return
alpha2
(
alpha123
(ADart));
272
}
273
//******************************************************************************
274
INLINE
275
CDart
*
CGMapGeneric::alpha12321
(
CDart
* ADart)
const
276
{
277
return
alpha1
(
alpha1232
(ADart));
278
}
279
//******************************************************************************
280
INLINE
281
CDart
*
CGMapGeneric::alpha123210
(
CDart
* ADart)
const
282
{
283
return
alpha0
(
alpha12321
(ADart));
284
}
285
//******************************************************************************
286
INLINE
287
CDart
*
CGMapGeneric::alpha13
(
CDart
* ADart)
const
288
{
289
return
alpha3
(
alpha1
(ADart));
290
}
291
//******************************************************************************
292
INLINE
293
CDart
*
CGMapGeneric::alpha20
(
CDart
* ADart)
const
294
{
295
return
alpha0
(
alpha2
(ADart));
296
}
297
//******************************************************************************
298
INLINE
299
CDart
*
CGMapGeneric::alpha201
(
CDart
* ADart)
const
300
{
301
return
alpha1
(
alpha20
(ADart));
302
}
303
//******************************************************************************
304
INLINE
305
CDart
*
CGMapGeneric::alpha21
(
CDart
* ADart)
const
306
{
307
return
alpha1
(
alpha2
(ADart));
308
}
309
//******************************************************************************
310
INLINE
311
CDart
*
CGMapGeneric::alpha210
(
CDart
* ADart)
const
312
{
313
return
alpha0
(
alpha21
(ADart));
314
}
315
//******************************************************************************
316
INLINE
317
CDart
*
CGMapGeneric::alpha2101
(
CDart
* ADart)
const
318
{
319
return
alpha1
(
alpha210
(ADart));
320
}
321
//******************************************************************************
322
INLINE
323
CDart
*
CGMapGeneric::alpha21012
(
CDart
* ADart)
const
324
{
325
return
alpha2
(
alpha2101
(ADart));
326
}
327
//******************************************************************************
328
INLINE
329
CDart
*
CGMapGeneric::alpha210123
(
CDart
* ADart)
const
330
{
331
return
alpha3
(
alpha21012
(ADart));
332
}
333
//******************************************************************************
334
INLINE
335
CDart
*
CGMapGeneric::alpha212
(
CDart
* ADart)
const
336
{
337
return
alpha2
(
alpha21
(ADart));
338
}
339
//******************************************************************************
340
INLINE
341
CDart
*
CGMapGeneric::alpha2121
(
CDart
* ADart)
const
342
{
343
return
alpha1
(
alpha212
(ADart));
344
}
345
//******************************************************************************
346
INLINE
347
CDart
*
CGMapGeneric::alpha23
(
CDart
* ADart)
const
348
{
349
return
alpha3
(
alpha2
(ADart));
350
}
351
//******************************************************************************
352
INLINE
353
CDart
*
CGMapGeneric::alpha231
(
CDart
* ADart)
const
354
{
355
return
alpha1
(
alpha23
(ADart));
356
}
357
//******************************************************************************
358
INLINE
359
CDart
*
CGMapGeneric::alpha2310
(
CDart
* ADart)
const
360
{
361
return
alpha0
(
alpha231
(ADart));
362
}
363
//******************************************************************************
364
INLINE
365
CDart
*
CGMapGeneric::alpha232
(
CDart
* ADart)
const
366
{
367
return
alpha2
(
alpha23
(ADart));
368
}
369
//******************************************************************************
370
INLINE
371
CDart
*
CGMapGeneric::alpha2321
(
CDart
* ADart)
const
372
{
373
return
alpha21
(
alpha23
(ADart));
374
}
375
//******************************************************************************
376
INLINE
377
CDart
*
CGMapGeneric::alpha232101
(
CDart
* ADart)
const
378
{
379
return
alpha01
(
alpha2321
(ADart));
380
}
381
//******************************************************************************
382
INLINE
383
CDart
*
CGMapGeneric::alpha30
(
CDart
* ADart)
const
384
{
385
return
alpha0
(
alpha3
(ADart));
386
}
387
//******************************************************************************
388
INLINE
389
CDart
*
CGMapGeneric::alpha301
(
CDart
* ADart)
const
390
{
391
return
alpha1
(
alpha30
(ADart));
392
}
393
//******************************************************************************
394
INLINE
395
CDart
*
CGMapGeneric::alpha3012
(
CDart
* ADart)
const
396
{
397
return
alpha12
(
alpha30
(ADart));
398
}
399
//******************************************************************************
400
INLINE
401
CDart
*
CGMapGeneric::alpha30120
(
CDart
* ADart)
const
402
{
403
return
alpha0
(
alpha3012
(ADart));
404
}
405
//******************************************************************************
406
INLINE
407
CDart
*
CGMapGeneric::alpha302
(
CDart
* ADart)
const
408
{
409
return
alpha2
(
alpha30
(ADart));
410
}
411
//******************************************************************************
412
INLINE
413
CDart
*
CGMapGeneric::alpha31
(
CDart
* ADart)
const
414
{
415
return
alpha1
(
alpha3
(ADart));
416
}
417
//******************************************************************************
418
INLINE
419
CDart
*
CGMapGeneric::alpha312
(
CDart
* ADart)
const
420
{
421
return
alpha2
(
alpha1
(
alpha3
(ADart)));
422
}
423
//******************************************************************************
424
INLINE
425
CDart
*
CGMapGeneric::alpha32
(
CDart
* ADart)
const
426
{
427
return
alpha2
(
alpha3
(ADart));
428
}
429
//******************************************************************************
430
INLINE
431
CDart
*
CGMapGeneric::alpha3201
(
CDart
* ADart)
const
432
{
433
return
alpha01
(
alpha32
(ADart));
434
}
435
//******************************************************************************
436
INLINE
437
CDart
*
CGMapGeneric::alpha321
(
CDart
* ADart)
const
438
{
439
return
alpha1
(
alpha32
(ADart));
440
}
441
//******************************************************************************
442
INLINE
443
CDart
*
CGMapGeneric::alpha323
(
CDart
* ADart)
const
444
{
445
return
alpha3
(
alpha32
(ADart));
446
}
447
//******************************************************************************
448
INLINE
449
CDart
*
CGMapGeneric::alpha321012
(
CDart
* ADart)
const
450
{
451
return
alpha012
(
alpha321
(ADart));
452
}
453
//******************************************************************************
454
INLINE
455
CDart
*
CGMapGeneric::getDirectInfoAsDart
(
CDart
* ADart,
int
ADirectInfoIndex)
456
{
457
assert(ADart!=NULL);
458
return
(
CDart
*) ADart->
getDirectInfo
(ADirectInfoIndex);
459
}
460
//******************************************************************************
461
}
// namespace GMap3d
462
//******************************************************************************
lib-gmapkernel
g-map-generic
gmg-inline.icc
Generated on Tue Apr 9 2013 09:51:35 for Moka kernel by
1.8.2