Wildmeshing Toolkit
Swap56EnergyBeforeInvariant.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 
25 } // namespace wmtk
bool before(const simplex::Simplex &t) const override
const attribute::TypedAttributeHandle< Rational > m_coordinate_handle
Swap56EnergyBeforeInvariant(const Mesh &m, const attribute::TypedAttributeHandle< Rational > &coordinate, int64_t collapse_index, double eps=1.0001)
Handle that represents attributes for some mesh.
Invariant(const Mesh &m)
Definition: Invariant.cpp:10
Definition: Accessor.hpp:6