Wildmeshing Toolkit
Loading...
Searching...
No Matches
ShortestEdgeCollapseOptions.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <wmtk/TriMesh.hpp>
4
6
8{
17 std::vector<attribute::MeshAttributeHandle> other_position_handles;
21 double length_rel;
25 bool lock_boundary = false;
29 std::optional<double> envelope_size;
34 bool check_inversions = false;
38 std::vector<attribute::MeshAttributeHandle> pass_through_attributes;
39};
40
41} // namespace wmtk::components::shortest_edge_collapse
std::optional< double > envelope_size
The envelope size relative to the AABB.
std::vector< attribute::MeshAttributeHandle > other_position_handles
If this mesh is part of a multimesh, specify the vertex positions of all other meshes here,...
std::vector< attribute::MeshAttributeHandle > pass_through_attributes
Any other attribute goes here.
attribute::MeshAttributeHandle position_handle
vertex positions (double)
bool check_inversions
If this attribute is specified, it is used to check for inversions.