Wildmeshing Toolkit
Loading...
Searching...
No Matches
SimplifySegments.hpp
1#pragma once
2
3#include <wmtk/Types.hpp>
4#include <wmtk/envelope/Envelope.hpp>
5#include <wmtk/history/History.hpp>
6
7#include <cstddef>
8
9namespace wmtk::utils {
10
67size_t simplify_segments(
68 MatrixXd& V,
69 MatrixXi& E,
70 const Envelope& envelope,
71 bool use_link_condition = true,
72 std::vector<int>* surviving_edges = nullptr,
73 std::vector<history::Edit>* collapses = nullptr,
74 std::vector<int>* surviving_vertices = nullptr);
75
76} // namespace wmtk::utils