OpenFOAM
v2312
The open source CFD toolbox
indexedFaceI.H
Go to the documentation of this file.
1
/*---------------------------------------------------------------------------*\
2
========= |
3
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4
\\ / O peration |
5
\\ / A nd | www.openfoam.com
6
\\/ M anipulation |
7
-------------------------------------------------------------------------------
8
Copyright (C) 2013-2015 OpenFOAM Foundation
9
-------------------------------------------------------------------------------
10
License
11
This file is part of OpenFOAM.
12
13
OpenFOAM is free software: you can redistribute it and/or modify it
14
under the terms of the GNU General Public License as published by
15
the Free Software Foundation, either version 3 of the License, or
16
(at your option) any later version.
17
18
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21
for more details.
22
23
You should have received a copy of the GNU General Public License
24
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25
26
\*---------------------------------------------------------------------------*/
27
28
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
29
30
template
<
class
Gt,
class
Fb>
31
inline
CGAL::indexedFace<Gt, Fb>::indexedFace
()
32
:
33
Fb
(),
34
index_(CHANGED)
35
{}
36
37
38
template
<
class
Gt,
class
Fb>
39
inline
CGAL::indexedFace<Gt, Fb>::indexedFace
40
(
41
Vertex_handle v0,
42
Vertex_handle v1,
43
Vertex_handle v2
44
)
45
:
46
Fb
(v0, v1, v2),
47
index_(CHANGED)
48
{}
49
50
51
template
<
class
Gt,
class
Fb>
52
inline
CGAL::indexedFace<Gt, Fb>::indexedFace
53
(
54
Vertex_handle v0,
55
Vertex_handle v1,
56
Vertex_handle v2,
57
Face_handle n0,
58
Face_handle n1,
59
Face_handle n2
60
)
61
:
62
Fb
(v0, v1, v2, n0, n1, n2),
63
index_(CHANGED)
64
{}
65
66
67
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
68
69
template
<
class
Gt,
class
Fb>
70
inline
void
CGAL::indexedFace<Gt, Fb>::set_vertex
(
int
i, Vertex_handle v)
71
{
72
index_ = CHANGED;
73
Fb::set_vertex
(i, v);
74
}
75
76
77
template
<
class
Gt,
class
Fb>
78
inline
void
CGAL::indexedFace<Gt, Fb>::set_vertices
()
79
{
80
index_ = CHANGED;
81
Fb::set_vertices
();
82
}
83
84
85
template
<
class
Gt,
class
Fb>
86
inline
void
CGAL::indexedFace<Gt, Fb>::set_vertices
87
(
88
Vertex_handle v0,
89
Vertex_handle v1,
90
Vertex_handle v2
91
)
92
{
93
index_ = CHANGED;
94
Fb::set_vertices
(v0, v1, v2);
95
}
96
97
98
template
<
class
Gt,
class
Fb>
99
inline
int
&
CGAL::indexedFace<Gt, Fb>::faceIndex
()
100
{
101
return
index_;
102
}
103
104
105
template
<
class
Gt,
class
Fb>
106
inline
int
CGAL::indexedFace<Gt, Fb>::faceIndex
()
const
107
{
108
return
index_;
109
}
110
111
112
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
CGAL::indexedFace::faceIndex
int & faceIndex()
Definition:
indexedFaceI.H:92
CGAL::indexedFace::indexedFace
indexedFace()
Definition:
indexedFaceI.H:24
CGAL::indexedFace::set_vertex
void set_vertex(int i, Vertex_handle v)
Definition:
indexedFaceI.H:63
CGAL::indexedFace
An indexed form of CGAL::Triangulation_face_base_2<K> used to keep track of the vertices in the trian...
Definition:
indexedFace.H:43
CGAL::indexedFace::set_vertices
void set_vertices()
Definition:
indexedFaceI.H:71
applications
utilities
mesh
generation
foamyMesh
foamyQuadMesh
indexedFaceI.H
Generated by
1.8.14