mirror of https://github.com/CGAL/cgal
Andreas: thanks for the QT demo!
I removed a little warning in it.
This commit is contained in:
parent
3996d75c2c
commit
03eeb9c6e7
|
|
@ -91,13 +91,12 @@ public:
|
||||||
}
|
}
|
||||||
*widget << CGAL::PointSize(2);// << CGAL::PointStyle(CGAL::PIXEL);
|
*widget << CGAL::PointSize(2);// << CGAL::PointStyle(CGAL::PIXEL);
|
||||||
*widget << CGAL::RED;
|
*widget << CGAL::RED;
|
||||||
|
|
||||||
|
|
||||||
if(list_of_points.size()>1){
|
if(list_of_points.size()>1){
|
||||||
Line_2 line;
|
Line_2 line;
|
||||||
double quality = linear_least_squares_fitting_2(list_of_points.begin(),
|
linear_least_squares_fitting_2(list_of_points.begin(),
|
||||||
list_of_points.end(),
|
list_of_points.end(),
|
||||||
line);
|
line);
|
||||||
|
|
||||||
*widget << line;
|
*widget << line;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue