Revert "Use number_of_parts for is_splittable"

It is too dangerous to rely on the admesh flag without inspecting the
admesh code line by line and a through test.

This reverts commit cd3cec3e45.
This commit is contained in:
bubnikv 2019-04-01 12:27:45 +02:00
parent cd3cec3e45
commit d728f4be5e
4 changed files with 25 additions and 1 deletions

View file

@ -68,6 +68,7 @@ public:
size_t facets_count() const { return this->stl.stats.number_of_facets; }
bool empty() const { return this->facets_count() == 0; }
bool is_splittable() const;
std::deque<uint32_t> find_unvisited_neighbors(std::vector<bool> &facet_visited) const;
stl_file stl;