Reduce testcase

This commit is contained in:
Andreas Fabri 2018-03-15 15:22:22 +01:00
parent 6a2567aa01
commit ec7c86fa7a
3 changed files with 34 additions and 1060 deletions

View File

@ -856,7 +856,7 @@ private:
size_type mult_of_resultant = event.mult_of_prim_res_root;
/*
// AF was commented
#if CGAL_ACK_DEBUG_FLAG
CGAL_ACK_DEBUG_PRINT << "Event line for " << index << " "
<< root_of_resultant << " "
@ -865,7 +865,7 @@ private:
<< left_arcs << " " << right_arcs
<< std::endl;
#endif
*/
Status_line_1 ev_line
= event_line_builder().create_event_line(index,

View File

@ -633,6 +633,10 @@ public:
CGAL_assertion(i>=0 &&
i < static_cast<size_type>
(event_indices().size()));
for(int j = 0; j < event_indices().size(); j++){
std::cout << "event_indices["<< j << "] = " << event_indices()[j].fg << " " << event_indices()[j].ffy << " "<< event_indices()[j].ggy << std::endl;
}
return event_indices()[i];
}
@ -1429,18 +1433,19 @@ compute_event_x_coordinates_with_event_indices() const {
std::vector<Event_indices>& event_indices
= this->ptr()->event_indices.get();
for(size_type i=0;i<static_cast<size_type>(events.size());i++) {
/*
#if CGAL_ACK_DEBUG_FLAG
std::cout << " events["<< i << "] = ";
CGAL_ACK_DEBUG_PRINT << CGAL::to_double(events[i]) << std::flush;
#endif
*/
switch(events_type[i]) {
case(CGAL::internal::ROOT_OF_FIRST_SET): {
/*
#if CGAL_ACK_DEBUG_FLAG
CGAL_ACK_DEBUG_PRINT << " one curve event" << std::endl;
#endif
*/
this->ptr()->event_slices.push_back(Lazy_status_line_CPA_1());
switch(*(one_curve_it++)) {
case(CGAL::internal::ROOT_OF_FIRST_SET): {
@ -1463,11 +1468,11 @@ compute_event_x_coordinates_with_event_indices() const {
break;
}
case(CGAL::internal::ROOT_OF_SECOND_SET): {
/*
#if CGAL_ACK_DEBUG_FLAG
CGAL_ACK_DEBUG_PRINT << " two curve event" << std::endl;
#endif
*/
this->ptr()->
event_slices.push_back(Lazy_status_line_CPA_1());
@ -1477,12 +1482,12 @@ compute_event_x_coordinates_with_event_indices() const {
break;
}
case(CGAL::internal::ROOT_OF_BOTH_SETS): {
/*
#if CGAL_ACK_DEBUG_FLAG
CGAL_ACK_DEBUG_PRINT << " one and two curve event"
<< std::endl;
#endif
*/
this->ptr()->event_slices.push_back(Lazy_status_line_CPA_1());