- x_intersection.insert(x_intersection.end(), y_intersection.begin(), y_intersection.end());
- x_intersection.push_back(BReal(0));
- x_intersection.push_back(BReal(1));
- std::sort(x_intersection.begin(), x_intersection.end());
-
- //Debug("Found %d intersections.\n", x_intersection.size());
- /*for(auto t : x_intersection)
- {
- BReal ptx, pty;
- Evaluate(ptx, pty, t);
- Debug("Root: t = %f, (%f,%f)", Double(t), Double(ptx), Double(pty));
- }*/
+ intersection.push_back(BReal(0));
+ intersection.push_back(BReal(1));
+ std::sort(intersection.begin(), intersection.end());