Wildmeshing Toolkit
TetFaceSwap.hpp
Go to the documentation of this file.
1 #pragma once
2 
5 
7 
37 class TetFaceSwap : public Operation
38 {
39 public:
40  TetFaceSwap(Mesh& m);
41 
43 
44  inline EdgeSplit& split() { return m_split; }
45  inline EdgeCollapse& collapse() { return m_collapse; }
46 
47 protected:
48  std::vector<simplex::Simplex> unmodified_primitives(
49  const simplex::Simplex& simplex) const override;
50  std::vector<simplex::Simplex> execute(const simplex::Simplex& simplex) override;
51 
52 private:
55 };
56 
57 } // namespace wmtk::operations::composite
A FaceSwap (or a Swap 2-3) performs a swap a face sharing by two tets to an edge split the volume of ...
Definition: TetFaceSwap.hpp:38
std::vector< simplex::Simplex > unmodified_primitives(const simplex::Simplex &simplex) const override
Returns all simplices that will be potentially affected by the operation.
Definition: TetFaceSwap.cpp:64
PrimitiveType primitive_type() const override
Definition: TetFaceSwap.hpp:42
std::vector< simplex::Simplex > execute(const simplex::Simplex &simplex) override
returns an empty vector in case of failure
Definition: TetFaceSwap.cpp:11