Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Regular_triangulation_3 Bug, CGAL 3.3

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Regular_triangulation_3 Bug, CGAL 3.3


Chronological Thread 
  • From: Andreas Fabri <>
  • To:
  • Subject: Re: [cgal-discuss] Regular_triangulation_3 Bug, CGAL 3.3
  • Date: Tue, 31 Jul 2007 17:29:44 +0200

Bernhard Kornberger wrote:

Hello Bernhard,

You haven't computed the plane equation. See:

http://www.cgal.org/Manual/3.3/doc_html/cgal_manual/Polyhedron/Chapter_main.html#Subsection_12.3.4


andreas

Thank you, Andreas!

This solves the problem. Sure, this is documented, but a programmer
can not expect that behavior. And even worse, the function returns
a wrong plane instead of some error message. Shouldn't the function
have an assertion like assert(plane_is_valid()); ??

I admit that this isn't fool proof, and leaves space for improvement.


FYI: The other problem where the software only crashes when it is
started in valgrind is still there.

I just downloaded the tarball. Can you please reduce the complexity
of the bug report example to a single file with some includes and typedefs
in the beginning, and a main that generates a triangulation and inserts
some points and still crashes.

I could do it myself, but I think it is your task.


It seems that the points are the points of a cube. Do you observe the
same with simpler values than

double l=-2396.4;
double u=2595.59;


that is with 0 and 1



best

andreas



Best
Bernhard




Archive powered by MHonArc 2.6.16.

Top of Page