Wildmeshing Toolkit
MaxEdgeLengthInvariant.hpp
Go to the documentation of this file.
1 #pragma once
2 
4 #include "Invariant.hpp"
5 
6 namespace wmtk {
8 {
9 public:
10  // NOTE: this takes in the threshold squared rather than the threshold itself
12  const Mesh& m,
13  const TypedAttributeHandle<double>& coordinate,
14  double threshold_squared);
15  bool before(const simplex::Simplex& t) const override;
16 
17 private:
20 };
21 } // namespace wmtk
MaxEdgeLengthInvariant(const Mesh &m, const TypedAttributeHandle< double > &coordinate, double threshold_squared)
const TypedAttributeHandle< double > m_coordinate_handle
bool before(const simplex::Simplex &t) const override
Handle that represents attributes for some mesh.
Definition: Accessor.hpp:6