Skip to content

Commit

Permalink
minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
denizdiktas committed Jul 12, 2023
1 parent 19bb136 commit 78cead6
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 658 deletions.
4 changes: 4 additions & 0 deletions Arrangement_on_surface_2/demo/earth/Aos.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,10 @@ std::vector<QVector3D> Aos::ext_check(const Kml::Placemarks& placemarks)
// Construct the arrangement from 12 geodesic arcs.
Geom_traits traits;
Ext_aos arr(&traits);

std::cout << "-------------------------------\n";
std::cout << "** num arr FACES (before adding arcs) = " <<
arr.number_of_faces() << std::endl;

auto xcvs = get_arcs(placemarks, arr);

Expand Down
6 changes: 3 additions & 3 deletions Arrangement_on_surface_2/demo/earth/Main_widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,9 @@ void Main_widget::initializeGL()
}

std::string data_path = "C:/work/gsoc2023/data/";
std::string shape_file_path = data_path + "ne_110m_admin_0_countries/";
auto shape_file_name = shape_file_path + "ne_110m_admin_0_countries.shp";
Shapefile::read(shape_file_name);
//std::string shape_file_path = data_path + "ne_110m_admin_0_countries/";
//auto shape_file_name = shape_file_path + "ne_110m_admin_0_countries.shp";
//Shapefile::read(shape_file_name);

//const auto file_name = data_path + "world_countries.kml";
//const auto file_name = data_path + "ne_110m_admin_0_countries.kml";
Expand Down
Loading

0 comments on commit 78cead6

Please sign in to comment.