diff --git a/Arrangement_on_surface_2/demo/earth/Aos.cpp b/Arrangement_on_surface_2/demo/earth/Aos.cpp index 08d879858bc..1fe45cf4008 100644 --- a/Arrangement_on_surface_2/demo/earth/Aos.cpp +++ b/Arrangement_on_surface_2/demo/earth/Aos.cpp @@ -392,12 +392,12 @@ std::vector Aos::ext_check(const Kml::Placemarks& placemarks) std::vector Aos::ext_check_id_based(Kml::Placemarks& placemarks) { // Construct the arrangement from 12 geodesic arcs. - Geom_traits traits, traits2; - Ext_aos arr(&traits), arr2(&traits2); + Geom_traits traits; + Ext_aos arr(&traits); // - //auto nodes = Kml::generate_ids(placemarks); - auto nodes = Kml::generate_ids_approx(placemarks, 0.001); + auto nodes = Kml::generate_ids(placemarks); + //auto nodes = Kml::generate_ids_approx(placemarks, 0.001); //Segment s() auto ctr_p = traits.construct_point_2_object(); @@ -407,8 +407,7 @@ std::vector Aos::ext_check_id_based(Kml::Placemarks& placemarks) int num_counted_polygons = 0; // std::vector points; - using Vertex_handle = decltype(CGAL::insert_point(arr2, ctr_p(1, 0, 0))); - std::vector vertices; + std::vector vertices; for (const auto& node : nodes) { auto n = node.get_coords_3d(); diff --git a/Arrangement_on_surface_2/demo/earth/Main_widget.cpp b/Arrangement_on_surface_2/demo/earth/Main_widget.cpp index 7e891757e3d..acf297d4267 100644 --- a/Arrangement_on_surface_2/demo/earth/Main_widget.cpp +++ b/Arrangement_on_surface_2/demo/earth/Main_widget.cpp @@ -228,8 +228,8 @@ void Main_widget::initializeGL() else { // check the arrangement constructed from the GIS data-set - //auto created_vertices = Aos::ext_check(m_countries); - auto created_vertices = Aos::ext_check_id_based(m_countries); + auto created_vertices = Aos::ext_check(m_countries); + //auto created_vertices = Aos::ext_check_id_based(m_countries); m_vertices = std::make_unique(created_vertices); }