Wildmeshing Toolkit
Loading...
Searching...
No Matches
TetFaceSwap.hpp
Go to the documentation of this file.
1#pragma once
2
5
7
37class TetFaceSwap : public Operation
38{
39public:
40 TetFaceSwap(Mesh& m);
41
43
44 inline EdgeSplit& split() { return m_split; }
45 inline EdgeCollapse& collapse() { return m_collapse; }
46
47protected:
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
52private:
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 ...
std::vector< simplex::Simplex > unmodified_primitives(const simplex::Simplex &simplex) const override
Returns all simplices that will be potentially affected by the operation.
PrimitiveType primitive_type() const override
std::vector< simplex::Simplex > execute(const simplex::Simplex &simplex) override
returns an empty vector in case of failure