Wildmeshing Toolkit
NavigatableSimplex.cpp
Go to the documentation of this file.
1
2
#include "
NavigatableSimplex.hpp
"
3
4
#include <
wmtk/Mesh.hpp
>
5
namespace
wmtk::simplex
{
6
7
NavigatableSimplex::NavigatableSimplex
(
const
Mesh
& m,
const
Simplex
& s)
8
:
NavigatableSimplex
(
9
s.primitive_type(),
10
s.tuple(),
11
IdSimplex
::id(m, s.primitive_type(), s.tuple()))
12
{}
13
NavigatableSimplex::NavigatableSimplex
(
const
Mesh
& m,
const
PrimitiveType
& ptype,
const
Tuple
& t)
14
:
NavigatableSimplex
(ptype, t,
IdSimplex
::id(m, ptype, t))
15
{}
16
17
NavigatableSimplex::operator
Simplex
()
const
18
{
19
return
{primitive_type(), tuple()};
20
}
21
}
// namespace wmtk::simplex
Mesh.hpp
NavigatableSimplex.hpp
wmtk::Mesh
Definition:
Mesh.hpp:106
wmtk::Tuple
Definition:
Tuple.hpp:42
wmtk::simplex::IdSimplex
Definition:
IdSimplex.hpp:15
wmtk::simplex::IdSimplex::NavigatableSimplex
friend class NavigatableSimplex
Definition:
IdSimplex.hpp:18
wmtk::simplex::NavigatableSimplex
Definition:
NavigatableSimplex.hpp:16
wmtk::simplex::Simplex
Definition:
Simplex.hpp:22
wmtk::simplex
Definition:
Cell.hpp:7
wmtk::PrimitiveType
PrimitiveType
Definition:
PrimitiveType.hpp:9
src
wmtk
simplex
NavigatableSimplex.cpp
Generated by
1.9.1