Newer
Older
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
/***************************************************************************
tnlGridEntity_impl.h - description
-------------------
begin : Nov 20, 2015
copyright : (C) 2015 by Tomas Oberhuber
email : tomas.oberhuber@fjfi.cvut.cz
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef TNLGRIDENTITY_IMPL_H
#define TNLGRIDENTITY_IMPL_H
#include "tnlGridEntity.h"
template< typename Grid,
int EntityDimensions >
tnlGridEntity< Grid, EntityDimensions >::
tnlGridEntity()
{
}
template< typename Grid,
int EntityDimensions >
tnlGridEntity< Grid, EntityDimensions >::
tnlGridEntity( const CoordinatesType& coordinates,
const EntityOrientationType& orientation,
const EntityBasisType& basis )
: coordinates( coordinates ),
orientation( orientation ),
basis( basis )
{
}
template< typename Grid,
int EntityDimensions >
const typename tnlGridEntity< Grid, EntityDimensions >::CoordinatesType&
tnlGridEntity< Grid, EntityDimensions >::
getCoordinates() const
{
return this->coordinates;
}
template< typename Grid,
int EntityDimensions >
typename tnlGridEntity< Grid, EntityDimensions >::CoordinatesType&
tnlGridEntity< Grid, EntityDimensions >::
getCoordinates()
{
return this->coordinates;
}
template< typename Grid,
int EntityDimensions >
const typename tnlGridEntity< Grid, EntityDimensions >::EntityOrientationType&
tnlGridEntity< Grid, EntityDimensions >::
getOrientation() const
{
return this->orientation;
}
template< typename Grid,
int EntityDimensions >
void
tnlGridEntity< Grid, EntityDimensions >::
setOrientation( const EntityOrientationType& orientation )
{
this->orientation = orientation;
}
template< typename Grid,
int EntityDimensions >
const typename tnlGridEntity< Grid, EntityDimensions >::EntityBasisType&
tnlGridEntity< Grid, EntityDimensions >::
getBasis() const
{
return this->basis;
}
template< typename Grid,
int EntityDimensions >
typename tnlGridEntity< Grid, EntityDimensions >::EntityBasisType&
tnlGridEntity< Grid, EntityDimensions >::
getBasis()
{
return this->basis;
}
template< typename Grid,
int EntityDimensions >
void
tnlGridEntity< Grid, EntityDimensions >::
setBasis( const EntityBasisType& basis )
{
this->basis = basis;
}
#endif /* TNLGRIDENTITY_IMPL_H */