From 04c0c2560a1acd1579f9c8d0d12b9908b28fcadc Mon Sep 17 00:00:00 2001 From: kanhuang Date: Wed, 4 Sep 2013 00:03:03 -0400 Subject: [PATCH] change input_neighbor() --- .../CGAL/Rotational_sweep_visibility_2.h | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Visibility_2/include/CGAL/Rotational_sweep_visibility_2.h b/Visibility_2/include/CGAL/Rotational_sweep_visibility_2.h index f2a50ee1424..6dcaeae2835 100644 --- a/Visibility_2/include/CGAL/Rotational_sweep_visibility_2.h +++ b/Visibility_2/include/CGAL/Rotational_sweep_visibility_2.h @@ -720,13 +720,13 @@ private: good_edge = false; break; } - if (good_edge) - if (!is_good_edge(e->source()->point(), e->target()->point())) { - std::cout<<"query point: "<curve()<source()->point()); + if (good_edge && e->source()->point()!=q) +// if (!is_good_edge(e->source()->point(), e->target()->point())) { +// std::cout<<"query point: "<curve()<source()->point()); good_edge = true; for (int i=0; inext()->source()->point(), e->next()->target()->point())) { - std::cout<<"query point: "<next()->curve()<next()->target()->point()!=q) +// if (!is_good_edge(e->next()->source()->point(), e->next()->target()->point())) { +// std::cout<<"query point: "<next()->curve()<next()->target()->point()); }