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