Skip to Content.
Sympa Menu

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

Subject: CGAL users discussion list

List archive

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


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Re: Divide by Zero in AABB tree
  • Date: Wed, 10 Apr 2013 22:40:09 +0200
  • Organization: GeometryFactory

On 04/08/2013 11:35 PM, schrodingersnewcat wrote:
That was the stack dump. I thought you had asked for that. It's going to be
a little difficult for me to get a backtrace from the exact point of the
error, since I don't have an interactive terminal while the program is
running, but I'll try to work something up.

As for the degenerate triangles, how could that happen? I'm creating the
AABB trees using polyhedrons that should be consistent, as they were created
from nef polyhedrons and my understanding was the conversion process does a
consistency check. Is this wrong? What other operations could cause a good
polyhedron to go bad?
Well, it depends if your nef polyhedron uses an exact number types and your polyhedron floating point coordinates. It might happen that the rounding to double make two points identical.

Sebastien.




--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Divide-by-Zero-in-AABB-tree-tp4657026p4657150.html
Sent from the cgal-discuss mailing list archive at Nabble.com.





Archive powered by MHonArc 2.6.18.

Top of Page