From 57b27574ea61cc5463aa194ef5dd01bc85ba4ebe Mon Sep 17 00:00:00 2001 From: Eric Berberich Date: Mon, 4 Aug 2008 14:04:12 +0000 Subject: [PATCH] fixed in paraboloc detection --- .../include/CGAL/Arr_qdx_topology_traits_2.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Arrangement_on_surface_2/include/CGAL/Arr_qdx_topology_traits_2.h b/Arrangement_on_surface_2/include/CGAL/Arr_qdx_topology_traits_2.h index 76755a94b52..ec2b35e2380 100644 --- a/Arrangement_on_surface_2/include/CGAL/Arr_qdx_topology_traits_2.h +++ b/Arrangement_on_surface_2/include/CGAL/Arr_qdx_topology_traits_2.h @@ -311,8 +311,7 @@ private: == CGAL::ARR_RIGHT_BOUNDARY ); if (eit->curve().location(CGAL::ARR_MIN_END) - == CGAL::ARR_LEFT_BOUNDARY && - _m_left == CGAL::ARR_UNBOUNDED) { + == CGAL::ARR_LEFT_BOUNDARY) { number_of_vertices_at_minus_inf++; } CGAL_precondition( @@ -324,14 +323,13 @@ private: == CGAL::ARR_RIGHT_BOUNDARY ); if (eit->curve().location(CGAL::ARR_MAX_END) - == CGAL::ARR_RIGHT_BOUNDARY && - _m_right == CGAL::ARR_UNBOUNDED) { + == CGAL::ARR_RIGHT_BOUNDARY) { number_of_vertices_at_plus_inf++; } } - + CGAL_assertion(number_of_vertices_at_minus_inf + - number_of_vertices_at_plus_inf == 4); + number_of_vertices_at_plus_inf == 2); CGAL_assertion(number_of_vertices_at_minus_inf != 1); CGAL_assertion(number_of_vertices_at_plus_inf != 1);