diff --git a/Apollonius_graph_2/changes.txt b/Apollonius_graph_2/changes.txt index f772d1e9858..4393f11882c 100644 --- a/Apollonius_graph_2/changes.txt +++ b/Apollonius_graph_2/changes.txt @@ -1,3 +1,8 @@ +2 May 2006: Menelaos Karavelas +- fixed bug in drawing routine of Parabola_segment_2; in somes cases + the drawing routine was producing some points twice. Thanks to + Rafael Torres for spotting the bug. + 1 May 2006: Menelaos Karavelas - fixed bug introduced in compute_points() in Parabola_2 class during the changes of March 9, 2006. Drawing of parabolas or parabolic arcs diff --git a/Apollonius_graph_2/include/CGAL/Parabola_segment_2.h b/Apollonius_graph_2/include/CGAL/Parabola_segment_2.h index bcdcc746006..0b158488475 100644 --- a/Apollonius_graph_2/include/CGAL/Parabola_segment_2.h +++ b/Apollonius_graph_2/include/CGAL/Parabola_segment_2.h @@ -83,7 +83,7 @@ public: int k; p.push_back( this->o ); - k = 1; + k = -1; tt = -this->STEP(); while ( CGAL::compare(tt, s0) == LARGER ) { p.insert( p.begin(), f(tt) );