MEPP2 Project
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Variables
Typedefs
a
c
e
f
h
i
m
p
r
s
t
v
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
m
n
o
p
q
r
s
t
v
w
Enumerations
Enumerator
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
w
x
Variables
c
d
e
f
i
l
m
n
o
p
r
s
t
v
Typedefs
a
c
e
f
g
h
i
k
l
m
n
o
p
r
t
v
w
Enumerations
Enumerator
Macros
_
a
b
c
h
i
m
n
o
p
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
FEVV
Wrappings
Graph_traits_extension_aif.h
Go to the documentation of this file.
1
// Copyright (c) 2012-2019 University of Lyon and CNRS (France).
2
// All rights reserved.
3
//
4
// This file is part of MEPP2; you can redistribute it and/or modify
5
// it under the terms of the GNU Lesser General Public License as
6
// published by the Free Software Foundation; either version 3 of
7
// the License, or (at your option) any later version.
8
//
9
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
10
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
11
#pragma once
12
13
/*
14
* Specialization of graph traits extension
15
* for AIF
16
*/
17
18
#include "
Graph_traits_extension.h
"
19
#include "
Graph_traits_aif.h
"
20
#include "
FEVV/DataStructures/AIF/AIFMesh.hpp
"
21
22
namespace
FEVV
{
23
24
33
inline
typename
boost::graph_traits<
34
FEVV::DataStructures::AIF::AIFMesh
>::vertices_size_type
35
size_of_vertices
(
const
FEVV::DataStructures::AIF::AIFMesh
&g)
36
{
37
return
static_cast<
typename boost::graph_traits<
38
FEVV::DataStructures::AIF::AIFMesh
>
::vertices_size_type >(
39
g.
GetNumberOfVertices
());
40
}
41
42
51
inline
typename
boost::graph_traits<
52
FEVV::DataStructures::AIF::AIFMesh
>::edges_size_type
53
size_of_edges
(
const
FEVV::DataStructures::AIF::AIFMesh
&g)
54
{
55
return
static_cast<
typename boost::graph_traits<
56
FEVV::DataStructures::AIF::AIFMesh
>
::edges_size_type >(
57
g.
GetNumberOfEdges
());
58
}
59
60
69
inline
typename
boost::graph_traits<
70
FEVV::DataStructures::AIF::AIFMesh
>::faces_size_type
71
size_of_faces
(
const
FEVV::DataStructures::AIF::AIFMesh
&g)
72
{
73
return
static_cast<
typename boost::graph_traits<
74
FEVV::DataStructures::AIF::AIFMesh
>
::faces_size_type >(
75
g.
GetNumberOfFaces
());
76
}
77
78
79
}
// namespace FEVV
80
FEVV::DataStructures::AIF::AIFMesh::GetNumberOfEdges
unsigned int GetNumberOfEdges() const
Definition:
AIFMesh.hpp:214
FEVV::size_of_edges
boost::graph_traits< MeshT >::edges_size_type size_of_edges(const MeshT &g)
Real current number of edges of the mesh. Generic version.
Definition:
Graph_traits_extension.h:46
FEVV::DataStructures::AIF::AIFMesh::GetNumberOfVertices
unsigned int GetNumberOfVertices() const
Definition:
AIFMesh.hpp:206
FEVV
Interfaces for plugins These interfaces will be used for different plugins.
Definition:
Assert.h:16
AIFMesh.hpp
Graph_traits_aif.h
FEVV::DataStructures::AIF::AIFMesh::GetNumberOfFaces
unsigned int GetNumberOfFaces() const
Definition:
AIFMesh.hpp:222
FEVV::size_of_faces
boost::graph_traits< MeshT >::faces_size_type size_of_faces(const MeshT &g)
Real current number of faces of the mesh. Generic version.
Definition:
Graph_traits_extension.h:80
FEVV::DataStructures::AIF::AIFMesh
This class represents an AIF structure. AIF structure can deal with both manifold and non-manifold su...
Definition:
AIFMesh.hpp:47
Graph_traits_extension.h
FEVV::size_of_vertices
boost::graph_traits< MeshT >::vertices_size_type size_of_vertices(const MeshT &g)
Real current number of vertices of the mesh. Generic version.
Definition:
Graph_traits_extension.h:29
Generated by
1.8.20