Wildmeshing Toolkit
Loading...
Searching...
No Matches
tetwild_simplification.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <nlohmann/json.hpp>
4
5#include <wmtk/TriMesh.hpp>
6
7
8namespace wmtk::components {
9
23std::tuple<std::shared_ptr<TriMesh>, nlohmann::json> tetwild_simplification(
24 const TriMesh& mesh,
25 const std::string& postion_attr_name,
26 double main_eps,
27 bool relative = true,
28 double duplicate_tol = -1,
29 bool use_sampling = true);
30
31
32} // namespace wmtk::components
std::tuple< std::shared_ptr< TriMesh >, nlohmann::json > tetwild_simplification(const TriMesh &mesh, const std::string &postion_attr_name, double main_eps, bool relative, double duplicate_tol, bool use_sampling)
Perform the simplification from the original tetwild.