Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] bug ? in Triangulation_3.h

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] bug ? in Triangulation_3.h


Chronological Thread 
  • From: Monique Teillaud <>
  • To:
  • Subject: Re: [cgal-discuss] bug ? in Triangulation_3.h
  • Date: Fri, 29 Dec 2006 16:33:41 +0100

Dear Jean-Baptiste,

This too restrictive precondition was already mentioned by Matthijs Sypkens Smit a few weeks ago. I fixed it. The fix will be included in the next release.

best
Monique Teillaud

yang fei wrote:
Dear CGAL lovers,

In CGAL-3.2.1, Triangulation_3.h, line 2208

flip_flippable(const Cell_handle& c, int i)
{
CGAL_triangulation_precondition( (dimension() == 3) && (0<=i) && (i<4)
&& (number_of_vertices() > 5) );
...
}

Why the number of vertices has to be strictly greater than 5
(what if I replace it by >=5 and in the Triangulation_data_structure_3.h line 1350 by >=6 ?)

sincerely,
jean-baptiste




Archive powered by MHonArc 2.6.16.

Top of Page