Open GoogleCodeExporter opened 8 years ago
Still the same ply files, the following code could lead to the mesh
simplification crash. Do I miss anything? Is there any error in the input ply
file?
Thanks,
Tang Laoya
/// read aa.ply and bb.ply to poly1 and poly2
...
carve::csg::CSG csg;
/// this line is used to enable triangulation after boolean operations
csg.hooks.registerHook(new carve::csg::CarveTriangulatorWithImprovement, carve::csg::CSG::Hooks::PROCESS_OUTPUT_FACE_BIT);
carve::mesh::MeshSet<3> *is_poly = csg.compute(&poly1,&poly2,csg.A_MINUS_B);
carve::mesh::MeshSimplifier simplifier;
/// code crash at here:
simplifier.simplify(is_poly, 1e-5, 1e-5, M_PI/180.0, 1e-5);
...
Original comment by tanglaoy...@gmail.com
on 17 Apr 2014 at 7:56
Original issue reported on code.google.com by
tanglaoy...@gmail.com
on 16 Apr 2014 at 8:40