Wildmeshing Toolkit
MultiMeshEdgeCollapseFunctor.cpp
Go to the documentation of this file.
1 
7 
8 namespace wmtk::operations::utils {
9 
11 {
12  throw std::runtime_error("Unimplemented!");
13 }
14 
16  EdgeMesh& m,
17  const simplex::Simplex& s) const
18 {
20  exec.collapse_edge();
21  return std::move(static_cast<edge_mesh::EdgeOperationData&>(exec));
22 }
24  TriMesh& m,
25  const simplex::Simplex& s) const
26 {
28  exec.collapse_edge();
29  return std::move(static_cast<tri_mesh::EdgeOperationData&>(exec));
30 }
32  TetMesh& m,
33  const simplex::Simplex& s) const
34 {
36  exec.collapse_edge();
37  return std::move(static_cast<tet_mesh::EdgeOperationData&>(exec));
38 }
39 } // namespace wmtk::operations::utils
void operator()(const Mesh &, const simplex::Simplex &) const
const Tuple & tuple() const
Definition: Simplex.hpp:53