Subject: CGAL users discussion list
List archive
- From: Andreas Fabri <>
- To:
- Subject: Re: [cgal-discuss] Boolean difference fails on my geometry
- Date: Wed, 21 Nov 2007 15:46:04 +0100
Hi Rob,
With this new polyhedron I get a problem by just reading it
andreas
$ ./nef_3_filtered.exe loadoff crack.off vis
CGAL error: assertion violation!
Expr: !pe->is_border()
File: ../../include\CGAL/Nef_3/polyhedron_3_to_nef_3.h
Line: 191
Rob Pieké wrote:
Small follow-up ... the problem persists, but here's an updated crack.off which had 8 zero-area faces removed.
Sadly, I'm not sure what more to say. I'm able to convert the geometry to Nef-land, but the boolean difference generates a non-2-manifold Nef result that I can't convert back to polygons.
Neither geometry is convex, but they're both water-tight and do not self-intersect. In total, the two objects are comprised of ~250 triangles.
Even if I use the nef_3_filtered demo application, I get an assertion error.
nef_3_filtered loadoff crack.off loadoff obj.off diff saveoff diff.off
CGAL error: assertion violation!
Expr: itl != it->second.end()
File: ../../include/CGAL/Nef_3/SNC_external_structure.h
Line: 1096
Explanation:
terminate called after throwing an instance of 'CGAL::Assertion_exception'
what(): CGAL ERROR: assertion violation!
Expr: itl != it->second.end()
File: ../../include/CGAL/Nef_3/SNC_external_structure.h
Line: 1096
Abort
I'm attempting to attach the offending .off files (not sure if the list accepts attachments or not).
Many thanks for any advice!
- Boolean difference fails on my geometry, Rob Pieké, 11/21/2007
- Re: [cgal-discuss] Boolean difference fails on my geometry, Rob Pieké, 11/21/2007
- Re: [cgal-discuss] Boolean difference fails on my geometry, Andreas Fabri, 11/21/2007
- Re: [cgal-discuss] Boolean difference fails on my geometry, Rob Pieké, 11/21/2007
- Re: [cgal-discuss] Boolean difference fails on my geometry, Andreas Fabri, 11/21/2007
- RE: [cgal-discuss] Boolean difference fails on my geometry, Amir Vaxman, 11/21/2007
- RE: [cgal-discuss] Boolean difference fails on my geometry, Amir Vaxman, 11/21/2007
- Re: [cgal-discuss] Boolean difference fails on my geometry, Andreas Fabri, 11/21/2007
- Re: [cgal-discuss] Boolean difference fails on my geometry, Rob Pieké, 11/21/2007
- Re: [cgal-discuss] Boolean difference fails on my geometry, Andreas Fabri, 11/21/2007
- Re: [cgal-discuss] Boolean difference fails on my geometry, Peter Hachenberger, 11/21/2007
- Re: [cgal-discuss] Boolean difference fails on my geometry, Peter Hachenberger, 11/21/2007
- Re: [cgal-discuss] Boolean difference fails on my geometry, Rob Pieké, 11/21/2007
- Re: [cgal-discuss] Boolean difference fails on my geometry, Rob Pieké, 11/21/2007
Archive powered by MHonArc 2.6.16.