21 const Tuple& input_tuple,
24 return merged_simplices(std::get<EdgeOperationData>(ret_data), input_tuple, pt);
30 const Tuple& output_tuple,
33 return new_simplices(std::get<EdgeOperationData>(ret_data), output_tuple, pt);
39 const Tuple& input_tuple,
55 const Tuple& output_tuple,
60 return {output_tuple};
decltype(auto) parent_scope(Functor &&f, Args &&... args) const
Evaluate the passed in function inside the parent scope.
ReturnData::ReturnVariant ReturnVariant
std::vector< Tuple > new_simplices(const ReturnVariant &ret_data, const Tuple &input_tuple, PrimitiveType pt) const final override
CollapseNewAttributeTopoInfo(EdgeMesh &m)
std::vector< std::array< Tuple, 2 > > merged_simplices(const ReturnVariant &ret_data, const Tuple &input_tuple, PrimitiveType pt) const final override
std::array< Tuple, 2 > input_endpoints(const EdgeMesh &m) const
constexpr int8_t get_primitive_type_id(PrimitiveType t)
Get a unique integer id corresponding to each primitive type.