#pragma once #include #include struct parametric_subchain_property_t { stl_vector_mp vertices{}; Eigen::AlignedBox2d aabb{}; }; struct parametric_chain_property_t { stl_vector_mp subchains; bool double_sided{}; bool patch_on_pos_side{}; }; using pcurve_relation_graph_t = relation_graph, edge_properties_t>; void map_chain_to_parametric_plane(const baked_blobtree_t& tree, const stl_vector_mp& vertices, const icurve_relation_graph_t& icurve_relation_graph, pcurve_relation_graph_t& pcurve_relation_graph); void identify_parametric_chain_valid_side(const baked_blobtree_t& tree, const stl_vector_mp& vertices, const icurve_relation_graph_t& icurve_relation_graph, pcurve_relation_graph_t& pcurve_relation_graph); void simplify_parametric_chain(pcurve_relation_graph_t& pcurve_relation_graph);