295{
298
299 if (result.empty())
300 return "";
301
302 std::ostringstream err_msg;
304 err_msg << "- At least one non-Tri3 element was found.\n" << std::endl;
306 err_msg << "- At least one triangle without three neighbors was found.\n" << std::endl;
308 err_msg << "- The surface mesh was empty\n" << std::endl;
310 err_msg << "- At least one triangle neighbor without a return neighbor link was found.\n";
312 err_msg << "- At least one triangle neighbor without expected node links was found.\n";
314 err_msg << "- At least one triangle neighbor with an inconsistent orientation was found.\n";
316 err_msg << "- At least one triangle neighbor with inconsistent node and neighbor links was "
317 "found.\n";
319 err_msg << "- At least one input triangle is degenerate, with near-zero area relative to the "
320 "manifold.\n";
322 err_msg << "- Mesh is degenerate, with zero thickness in at least one direction.\n";
323 return err_msg.str();
324}
std::set< SurfaceIntegrity > improve_hull_integrity()