Wildmeshing Toolkit
TetCellSplit.hpp
Go to the documentation of this file.
1 #pragma once
2 
5 
18 class TetCellSplit : public Operation
19 {
20 public:
21  TetCellSplit(Mesh& m);
22 
24 
25  inline EdgeSplit& split() { return m_split; }
26  inline EdgeCollapse& collapse() { return m_collapse; }
27 
28 
29 protected:
30  std::vector<simplex::Simplex> execute(const simplex::Simplex& simplex) override;
31  std::vector<simplex::Simplex> unmodified_primitives(
32  const simplex::Simplex& simplex) const override;
33 
34 private:
37 };
38 
39 } // namespace wmtk::operations::composite
std::vector< simplex::Simplex > unmodified_primitives(const simplex::Simplex &simplex) const override
Returns all simplices that will be potentially affected by the operation.
std::vector< simplex::Simplex > execute(const simplex::Simplex &simplex) override
returns an empty vector in case of failure
PrimitiveType primitive_type() const override