Improve its_split for large number of parts

This commit is contained in:
tamasmeszaros 2021-06-03 20:03:55 +02:00
parent c4507842a0
commit b4d540ec4c
4 changed files with 148 additions and 59 deletions

View file

@ -325,7 +325,7 @@ FaceNeighborIndex its_create_neighbors_index_4(const indexed_triangle_set &its)
// Create an index of faces belonging to each vertex. The returned vector can
// be indexed with vertex indices and contains a list of face indices for each
// vertex.
static std::vector<std::vector<size_t>> create_vertex_faces_index(const indexed_triangle_set &its)
std::vector<std::vector<size_t>> create_vertex_faces_index(const indexed_triangle_set &its)
{
std::vector<std::vector<size_t>> index;