22 const Tuple& input_tuple,
25 return merged_simplices(std::get<EdgeOperationData>(ret_data), input_tuple, pt);
31 const Tuple& output_tuple,
34 return new_simplices(std::get<EdgeOperationData>(ret_data), output_tuple, pt);
40 const Tuple& input_tuple,
59 const Tuple& output_tuple,
64 return {output_tuple};
decltype(auto) parent_scope(Functor &&f, Args &&... args) const
Evaluate the passed in function inside the parent scope.
ReturnData::ReturnVariant ReturnVariant
CollapseNewAttributeTopoInfo(TriMesh &m)
std::vector< std::array< Tuple, 2 > > merged_simplices(const ReturnVariant &ret_data, const Tuple &input_tuple, PrimitiveType pt) const final override
std::vector< Tuple > new_simplices(const ReturnVariant &ret_data, const Tuple &input_tuple, PrimitiveType pt) const final override
std::vector< Tuple > collapse_merged_ear_edges(const TriMesh &m) const
std::vector< std::array< Tuple, 2 > > ear_edges(const TriMesh &m) const
std::array< Tuple, 2 > input_endpoints(const TriMesh &m) const
constexpr int8_t get_primitive_type_id(PrimitiveType t)
Get a unique integer id corresponding to each primitive type.