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