Wildmeshing Toolkit
Loading...
Searching...
No Matches
CollapseNewAttributeTopoInfo.hpp
Go to the documentation of this file.
1#pragma once
4
7{
8public:
10
11 // the sipmlices that were merged together
12 std::vector<std::array<Tuple, 2>> merged_simplices(
13 const ReturnVariant& ret_data,
14 const Tuple& input_tuple,
15 PrimitiveType pt) const final override;
16
17 // the simplices that were created by merging simplices
18 std::vector<Tuple> new_simplices(
19 const ReturnVariant& ret_data,
20 const Tuple& input_tuple,
21 PrimitiveType pt) const final override;
22
23private:
24 // the sipmlices that were merged together
25 std::vector<std::array<Tuple, 2>> merged_simplices(
26 const EdgeOperationData& ret_data,
27 const Tuple& input_tuple,
28 PrimitiveType pt) const;
29
30 // the simplices that were created by merging simplices
31 std::vector<Tuple> new_simplices(
32 const EdgeOperationData& ret_data,
33 const Tuple& input_tuple,
34 PrimitiveType pt) const;
35
37};
38} // namespace wmtk::operations::edge_mesh
The Tuple is the basic navigation tool in our mesh data structure.
Definition Tuple.hpp:19
std::vector< Tuple > new_simplices(const ReturnVariant &ret_data, const Tuple &input_tuple, PrimitiveType pt) const final override
std::vector< std::array< Tuple, 2 > > merged_simplices(const ReturnVariant &ret_data, const Tuple &input_tuple, PrimitiveType pt) const final override