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-------------------------------------------------------------------------------
10License
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
30template<class Gt, class Fb>
32:
33 Fb(),
34 index_(CHANGED)
35{}
36
37
38template<class Gt, class Fb>
40(
44)
45:
46 Fb(v0, v1, v2),
47 index_(CHANGED)
48{}
49
50
51template<class Gt, class Fb>
53(
57 Face_handle n0,
58 Face_handle n1,
60)
61:
62 Fb(v0, v1, v2, n0, n1, n2),
63 index_(CHANGED)
64{}
65
66
67// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
68
69template<class Gt, class Fb>
71{
72 index_ = CHANGED;
73 Fb::set_vertex(i, v);
74}
75
76
77template<class Gt, class Fb>
79{
80 index_ = CHANGED;
82}
83
84
85template<class Gt, class Fb>
87(
91)
92{
93 index_ = CHANGED;
94 Fb::set_vertices(v0, v1, v2);
95}
96
97
98template<class Gt, class Fb>
100{
101 return index_;
102}
103
104
105template<class Gt, class Fb>
107{
108 return index_;
109}
110
111
112// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
An indexed form of CGAL::Triangulation_face_base_2<K> used to keep track of the vertices in the trian...
Definition: indexedFace.H:52
Fb::Face_handle Face_handle
Definition: indexedFace.H:71
void set_vertex(int i, Vertex_handle v)
Definition: indexedFaceI.H:70
Fb::Vertex_handle Vertex_handle
Definition: indexedFace.H:70