Création d'un compte pour un collaborateur extérieur au laboratoire depuis l'intranet ICube : https://intranet.icube.unistra.fr/fr/labs/member/profile

Commit c658f592 authored by Thomas's avatar Thomas
Browse files

removing unnecessary check() in subdivision3

parent d0e590fe
......@@ -336,9 +336,6 @@ std::vector<Dart> sliceConvexVolumes(typename PFP::MAP& map, typename PFP::TVEC3
}
}
map.check();
std::cout << "tip " << std::endl;
//Step 2: Split faces with cut edges
TraversorF<typename PFP::MAP> tf(map);
for(Dart d = tf.begin(); d != tf.end(); d=tf.next())
......@@ -374,9 +371,6 @@ std::vector<Dart> sliceConvexVolumes(typename PFP::MAP& map, typename PFP::TVEC3
}
}
map.check();
std::cout << "top " << std::endl;
//Step 3 : Find path and split volumes
TraversorW<typename PFP::MAP> tw(map);
for(Dart d = tw.begin(); d != tw.end(); d=tw.next()) //Parcours des volumes
......@@ -429,14 +423,9 @@ std::vector<Dart> sliceConvexVolumes(typename PFP::MAP& map, typename PFP::TVEC3
assert(vPath.size()>2);
map.splitVolume(vPath);
vRes.push_back(map.phi2(*vPath.begin()));
map.check();
std::cout << "tup " << std::endl;
}
}
return vRes;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment