Andreas: thanks for the QT demo!

I removed a little warning in it.
This commit is contained in:
Pierre Alliez 2006-04-04 15:14:21 +00:00
parent 3996d75c2c
commit 03eeb9c6e7
1 changed files with 3 additions and 4 deletions

View File

@ -91,13 +91,12 @@ public:
}
*widget << CGAL::PointSize(2);// << CGAL::PointStyle(CGAL::PIXEL);
*widget << CGAL::RED;
if(list_of_points.size()>1){
Line_2 line;
double quality = linear_least_squares_fitting_2(list_of_points.begin(),
list_of_points.end(),
line);
linear_least_squares_fitting_2(list_of_points.begin(),
list_of_points.end(),
line);
*widget << line;
}