new case for non-hv r with endpoint p or q

Signed-off-by: Panagiotis Cheilaris <philaris@cs.ntua.gr>
This commit is contained in:
Panagiotis Cheilaris 2013-08-08 23:26:18 +03:00
parent 2e93da418e
commit aefe08b079
1 changed files with 13 additions and 6 deletions

View File

@ -2072,7 +2072,7 @@ private:
(not (is_p_endp_of_r or is_q_endp_of_r))
) {
CGAL_SDG_DEBUG(std::cout << "debug r is non-axis parallel"
<< std::endl;);
<< " and neither p nor q endpoints" << std::endl;);
CGAL_SDG_DEBUG(std::cout << "debug d=" << d <<
" d_fine=" << d_fine << std::endl;);
bool pqsamex = CGAL::compare(diffdvpx, diffdvqx) == EQUAL;
@ -2108,14 +2108,21 @@ private:
}
}
} // end of pqsamey case
// check for case where p or q are endpoints of r
if (is_p_endp_of_r or is_q_endp_of_r) {
CGAL_SDG_DEBUG(std::cout << "debug per=" << is_p_endp_of_r
<< " qer=" << is_q_endp_of_r << std::endl;);
}
} // end of case: pqsamex or pqsamey
} // end of non-hv segment r case with p, q non-endpoints of r
// check for p or q endpoint of non-hv r
if ((not (is_r_hor or is_r_ver)) and
((is_p_endp_of_r or is_q_endp_of_r))
) {
CGAL_SDG_DEBUG(std::cout << "debug r is non-axis parallel"
<< " and either p or q is r's endpoint" << std::endl;);
CGAL_SDG_DEBUG(std::cout << "debug per=" << is_p_endp_of_r
<< " qer=" << is_q_endp_of_r << std::endl;);
} // case r is non-hv and has endpoint p or q
CGAL_assertion(num_same_quadrant_as_t == 0);
CGAL_SDG_DEBUG(std::cout