From f1a69ef4bbd28b38a72f6e7983ecad966ee06bdf Mon Sep 17 00:00:00 2001 From: Panagiotis Cheilaris Date: Sun, 2 Jun 2013 09:53:31 +0200 Subject: [PATCH] show (debug) closest1 in compare_distances_ss Signed-off-by: Panagiotis Cheilaris --- .../Oriented_side_of_bisector_C2.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Segment_Delaunay_graph_Linf_2/include/CGAL/Segment_Delaunay_graph_Linf_2/Oriented_side_of_bisector_C2.h b/Segment_Delaunay_graph_Linf_2/include/CGAL/Segment_Delaunay_graph_Linf_2/Oriented_side_of_bisector_C2.h index 7814152a296..ee94f6e1883 100644 --- a/Segment_Delaunay_graph_Linf_2/include/CGAL/Segment_Delaunay_graph_Linf_2/Oriented_side_of_bisector_C2.h +++ b/Segment_Delaunay_graph_Linf_2/include/CGAL/Segment_Delaunay_graph_Linf_2/Oriented_side_of_bisector_C2.h @@ -189,6 +189,10 @@ private: CGAL_precondition( !is_degenerate(s1) ); CGAL_precondition( !is_degenerate(s2) ); + CGAL_SDG_DEBUG(std::cout << "debug compare_distances_ss " + << "entering with s1=" << s1 << " s2=" << s2 + << " q=" << q << std::endl;); + bool is_on_s1 = is_endpoint(q, s1); bool is_on_s2 = is_endpoint(q, s2); @@ -271,7 +275,7 @@ private: } else if ( idx2 == 1 ) { if ( same_points(s1.source_site(), s2.target_site()) ) { CGAL_SDG_DEBUG(std::cout << "debug compare_distances_ss" - << " same_s1src_s2trg" << std::endl;); + << " same_s1src_s2trg, closest1=" << closest1 << std::endl;); return EQUAL; } //RT d2_s2 = compute_linf_distance(qq, strg2);