Wildmeshing Toolkit
Loading...
Searching...
No Matches
shortest_edge_collapse.hpp
Go to the documentation of this file.
1#pragma once
2#include <wmtk/Mesh.hpp>
3#include <wmtk/TriMesh.hpp>
4
6
8
17void shortest_edge_collapse(Mesh& mesh, const ShortestEdgeCollapseOptions& options);
18
29 Mesh& mesh,
30 const attribute::MeshAttributeHandle& position_handle,
31 const double length_rel,
32 std::optional<bool> lock_boundary = {},
33 std::optional<double> envelope_size = {},
34 bool check_inversion = false,
35 const std::vector<attribute::MeshAttributeHandle>& pass_through = {});
36
37} // namespace wmtk::components::shortest_edge_collapse
void shortest_edge_collapse(Mesh &mesh_in, const ShortestEdgeCollapseOptions &options)
Perform shortest-edge collapse on a triangular surface mesh.