|
|
@ -1,6 +1,4 @@ |
|
|
#include <post_topo.hpp> |
|
|
#include <post_topo.hpp> |
|
|
#include "container/wrapper/relation_graph.hpp" |
|
|
|
|
|
#include "fwd_types.hpp" |
|
|
|
|
|
|
|
|
|
|
|
void filter_chains(const std::vector<polygon_face_t>& faces, |
|
|
void filter_chains(const std::vector<polygon_face_t>& faces, |
|
|
const std::vector<std::vector<uint32_t>>& patches, |
|
|
const std::vector<std::vector<uint32_t>>& patches, |
|
|
@ -31,6 +29,7 @@ void filter_chains(const std::vector<polygon_face_t>& faces, |
|
|
if (v1_iter != vertex_old_index_to_unique_index.end() && v2_iter != vertex_old_index_to_unique_index.end() |
|
|
if (v1_iter != vertex_old_index_to_unique_index.end() && v2_iter != vertex_old_index_to_unique_index.end() |
|
|
&& v3_iter != vertex_old_index_to_unique_index.end()) { |
|
|
&& v3_iter != vertex_old_index_to_unique_index.end()) { |
|
|
chain_triangle_t mapped_tri{}; |
|
|
chain_triangle_t mapped_tri{}; |
|
|
|
|
|
mapped_tri.chain_index = tri.chain_index; |
|
|
mapped_tri.v1 = v1_iter->second; |
|
|
mapped_tri.v1 = v1_iter->second; |
|
|
mapped_tri.v2 = v2_iter->second; |
|
|
mapped_tri.v2 = v2_iter->second; |
|
|
mapped_tri.v3 = v3_iter->second; |
|
|
mapped_tri.v3 = v3_iter->second; |
|
|
|