Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Divide by Zero in AABB tree

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Divide by Zero in AABB tree


Chronological Thread 
  • 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'
what(): CGAL ERROR: precondition violation!
Expr: z != 0
File: /home/rcf-proj/jdo/friesz/lib64/include/CGAL/GMP/Gmpq_type.h
Line: 306
Not really helpful. Did you check that you have no degenerated objects?
For example a segment with two identical endpoints?



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?
Are you using AABB tree in different thread? which version of CGAL are you using?


I'm having trouble creating a short example program that exhibits the same
error. Any help would be appreciated.
It would be nice to at least achieve to print the primitives than cause the error.

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.





Archive powered by MHonArc 2.6.18.

Top of Page