- fixed bug in drawing routine of Parabola_segment_2; in somes cases

the drawing routine was producing some points twice. Thanks to 
  Rafael Torres <rtorres@dimm.upv.es> for spotting the bug.
This commit is contained in:
Menelaos Karavelas 2006-05-02 11:28:46 +00:00
parent 265b4bab6a
commit f3e1bb671a
2 changed files with 6 additions and 1 deletions

View File

@ -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 <rtorres@dimm.upv.es> for spotting the bug.
1 May 2006: Menelaos Karavelas 1 May 2006: Menelaos Karavelas
- fixed bug introduced in compute_points() in Parabola_2 class during - fixed bug introduced in compute_points() in Parabola_2 class during
the changes of March 9, 2006. Drawing of parabolas or parabolic arcs the changes of March 9, 2006. Drawing of parabolas or parabolic arcs

View File

@ -83,7 +83,7 @@ public:
int k; int k;
p.push_back( this->o ); p.push_back( this->o );
k = 1; k = -1;
tt = -this->STEP(); tt = -this->STEP();
while ( CGAL::compare(tt, s0) == LARGER ) { while ( CGAL::compare(tt, s0) == LARGER ) {
p.insert( p.begin(), f(tt) ); p.insert( p.begin(), f(tt) );