Wildmeshing Toolkit
FrozenVertexInvariant.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <optional>
5 #include "Invariant.hpp"
6 
7 namespace wmtk::invariants {
9 {
10 public:
11  FrozenVertexInvariant(const Mesh& m, const TypedAttributeHandle<int64_t>& frozen_vertex_handle);
12  bool before(const simplex::Simplex& t) const override;
13 
14 private:
16 };
17 
19 {
20 public:
22  const Mesh& m,
23  const TypedAttributeHandle<int64_t>& frozen_vertex_handle);
24  bool before(const simplex::Simplex& t) const override;
25 
26 private:
28 };
29 
30 
31 } // namespace wmtk::invariants
Handle that represents attributes for some mesh.
bool before(const simplex::Simplex &t) const override
const TypedAttributeHandle< int64_t > m_frozen_vertex_handle
FrozenOppVertexInvariant(const Mesh &m, const TypedAttributeHandle< int64_t > &frozen_vertex_handle)
bool before(const simplex::Simplex &t) const override
FrozenVertexInvariant(const Mesh &m, const TypedAttributeHandle< int64_t > &frozen_vertex_handle)
const TypedAttributeHandle< int64_t > m_frozen_vertex_handle