Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Divide by Zero in AABB tree
- Date: Tue, 26 Mar 2013 07:07:18 +0100
- Organization: GeometryFactory
On 03/26/2013 03:47 AM, schrodingersnewcat wrote:
terminate called after throwing an instance of 'CGAL::Precondition_exception'Not really helpful. Did you check that you have no degenerated objects?
what(): CGAL ERROR: precondition violation!
Expr: z != 0
File: /home/rcf-proj/jdo/friesz/lib64/include/CGAL/GMP/Gmpq_type.h
Line: 306
For example a segment with two identical endpoints?
Are you using AABB tree in different thread? which version of CGAL are you using?
I get this error when I do a distance query on an AABB tree. Is there any
situation where this might happen with multiple AABB trees in my program?
Or with a memory issue?
It would be nice to at least achieve to print the primitives than cause the error.
I'm having trouble creating a short example program that exhibits the same
error. Any help would be appreciated.
Sebastien.
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Divide-by-Zero-in-AABB-tree-tp4657026.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Divide by Zero in AABB tree, schrodingersnewcat, 03/26/2013
- Re: [cgal-discuss] Divide by Zero in AABB tree, Sebastien Loriot (GeometryFactory), 03/26/2013
- [cgal-discuss] Re: Divide by Zero in AABB tree, schrodingersnewcat, 03/26/2013
- Re: [cgal-discuss] Re: Divide by Zero in AABB tree, Sebastien Loriot (GeometryFactory), 03/27/2013
- [cgal-discuss] Re: Divide by Zero in AABB tree, schrodingersnewcat, 03/27/2013
- Re: [cgal-discuss] Re: Divide by Zero in AABB tree, Sebastien Loriot (GeometryFactory), 03/27/2013
- [cgal-discuss] Re: Divide by Zero in AABB tree, schrodingersnewcat, 03/27/2013
- Re: [cgal-discuss] Re: Divide by Zero in AABB tree, Sebastien Loriot (GeometryFactory), 03/27/2013
- [cgal-discuss] Re: Divide by Zero in AABB tree, schrodingersnewcat, 03/26/2013
- Re: [cgal-discuss] Divide by Zero in AABB tree, Sebastien Loriot (GeometryFactory), 03/26/2013
Archive powered by MHonArc 2.6.18.