Wildmeshing Toolkit
Rounding.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
wmtk/utils/Rational.hpp
>
4
#include "
AttributesUpdate.hpp
"
5
6
7
namespace
wmtk::operations
{
8
9
class
Rounding
:
public
AttributesUpdate
10
{
11
public
:
12
Rounding
(
Mesh
& m,
TypedAttributeHandle<Rational>
& coordinate);
13
14
std::vector<simplex::Simplex>
execute
(
const
simplex::Simplex
& simplex)
override
;
15
16
private
:
17
TypedAttributeHandle<Rational>
&
m_coordinate_handle
;
18
};
19
20
}
// namespace wmtk::operations
AttributesUpdate.hpp
Rational.hpp
wmtk::Mesh
Definition:
Mesh.hpp:106
wmtk::attribute::TypedAttributeHandle
Handle that represents attributes for some mesh.
Definition:
TypedAttributeHandle.hpp:28
wmtk::operations::AttributesUpdate
Definition:
AttributesUpdate.hpp:8
wmtk::operations::Rounding
Definition:
Rounding.hpp:10
wmtk::operations::Rounding::Rounding
Rounding(Mesh &m, TypedAttributeHandle< Rational > &coordinate)
Definition:
Rounding.cpp:11
wmtk::operations::Rounding::m_coordinate_handle
TypedAttributeHandle< Rational > & m_coordinate_handle
Definition:
Rounding.hpp:17
wmtk::operations::Rounding::execute
std::vector< simplex::Simplex > execute(const simplex::Simplex &simplex) override
returns an empty vector in case of failure
Definition:
Rounding.cpp:16
wmtk::simplex::Simplex
Definition:
Simplex.hpp:22
wmtk::operations
Definition:
EdgeMesh.hpp:10
src
wmtk
operations
Rounding.hpp
Generated by
1.9.1