Wildmeshing Toolkit
wildmeshing.cpp
Go to the documentation of this file.
1 #include "wildmeshing.hpp"
2 
5 
6 namespace wmtk::components {
7 
8 using namespace internal;
9 
10 std::vector<std::pair<std::shared_ptr<Mesh>, std::string>> wildmeshing(
11  const WildMeshingOptions& option)
12 {
13  if (option.input_mesh->top_simplex_type() == PrimitiveType::Triangle) {
14  return wildmeshing2d(option);
15  } else {
16  return wildmeshing3d(option);
17  }
18 
19  assert(false);
20  return {};
21 }
22 
23 } // namespace wmtk::components
std::vector< std::pair< std::shared_ptr< Mesh >, std::string > > wildmeshing2d(const WildMeshingOptions &options)
std::vector< std::pair< std::shared_ptr< Mesh >, std::string > > wildmeshing3d(const WildMeshingOptions &options)
std::vector< std::pair< std::shared_ptr< Mesh >, std::string > > wildmeshing(const WildMeshingOptions &option)
Definition: wildmeshing.cpp:10