Wildmeshing Toolkit
Swap44EnergyBeforeInvariant.hpp
Go to the documentation of this file.
1 #pragma once
2 
4 #include "Invariant.hpp"
5 
6 namespace wmtk {
8 {
9 public:
11  const Mesh& m,
13  int64_t collapse_index,
14  double eps = 1.0001);
16 
17  bool before(const simplex::Simplex& t) const override;
18 
19 private:
22  const double m_eps;
23 };
24 } // namespace wmtk
const attribute::TypedAttributeHandle< Rational > m_coordinate_handle
Swap44EnergyBeforeInvariant(const Mesh &m, const attribute::TypedAttributeHandle< Rational > &coordinate, int64_t collapse_index, double eps=1.0001)
bool before(const simplex::Simplex &t) const override
Handle that represents attributes for some mesh.
Invariant(const Mesh &m)
Definition: Invariant.cpp:10
Definition: Accessor.hpp:6