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