Commit Graph

56 Commits

Author SHA1 Message Date
Efi Fogel 36d23e88b7 Cleaned up; added default input file 2024-01-08 16:24:07 +02:00
Efi Fogel 12c8decd21 Merge remote-tracking branch 'cgal/master' into gsoc2023-aos_sphere_demo-denizdiktas 2023-08-30 15:57:19 +03:00
denizdiktas 41b7f69da9 added command line argument input 2023-08-29 18:43:59 +03:00
denizdiktas e85b59374e added: if the query point is on the vertex or on the edge, then one of the incident faces is chosen arbitrarily as the query result 2023-08-20 15:03:38 +03:00
denizdiktas 0a10e28440 the outlines of the faces are drawn from the arrangement data itself now (no KML needed) 2023-08-17 21:18:17 +03:00
denizdiktas cec57f2d5d minor refactor: Aos::get_approx_arcs & added rendering of country borders (but still need to load the KML file) 2023-08-17 20:36:12 +03:00
denizdiktas 544942e8ab refactor: moved triangulation code to a separate class 2023-08-15 20:53:19 +03:00
denizdiktas 8d99ac39ee refactor: moved Aos definitions to a separate file 2023-08-15 20:33:18 +03:00
denizdiktas c2173dd376 get_handle is now templated & minor cleanup 2023-08-15 20:09:56 +03:00
denizdiktas db65cfa4de Fixed: memory leak with Country_aos arrangement (using std::shared_ptr with custom deleter) 2023-08-15 19:57:46 +03:00
denizdiktas 60a9ce2e1b Added: country selection 2023-08-15 12:31:30 +03:00
denizdiktas 08a695bba8 reduced color-set (neighboring countries got different colors from a minimal set of colors 2023-08-13 21:20:55 +03:00
denizdiktas 9e2c80b062 Added: json loading by country name 2023-08-13 17:49:30 +03:00
denizdiktas f1faa51541 added copyright notices 2023-08-12 16:49:02 +03:00
denizdiktas 2493be17e3 added a single global static Geom_traits object in Aos.cpp for all operations 2023-08-12 16:26:53 +03:00
denizdiktas 0c3ab6d10a code cleanup 2023-08-12 16:18:13 +03:00
denizdiktas 66d0ef8c80 incorporated json reader from globe project 2023-08-12 14:40:15 +03:00
denizdiktas 15a1b8fa39 fixed: curve source and target indices 2023-08-11 20:45:12 +03:00
denizdiktas a4c56c9f3d added: 2 flags when recording the faces and code to check the smallest country 2023-08-11 15:34:04 +03:00
denizdiktas 93811dfe4a added: source and target attributes to each edge in json format 2023-08-11 13:12:06 +03:00
denizdiktas 72547412db solved the triangulation error 2023-08-10 12:33:03 +03:00
denizdiktas f80b980242 added: initial triangulation code 2023-08-10 10:11:50 +03:00
denizdiktas 249b41236d modified file format 2023-08-08 11:03:48 +03:00
denizdiktas 944ebe0592 changed: saving edges instead of half-edges (code might need optimization) 2023-08-02 17:38:17 +03:00
denizdiktas 1db9651e6f not skipping the spherical face 2023-08-01 15:10:20 +03:00
denizdiktas 16863d7148 modified the arr-saving function 2023-08-01 13:18:55 +03:00
denizdiktas 5ba1864147 working on JSON-loading 2023-07-30 16:42:42 +03:00
denizdiktas 1995b8b61f corrections for saving the json file 2023-07-28 13:24:42 +03:00
denizdiktas ddaa233443 minor refactor 2023-07-28 12:06:37 +03:00
denizdiktas 5a08d9a9c0 added: writing of faces 2023-07-26 09:43:13 +03:00
denizdiktas a87fec062d Added: writing the halfedges 2023-07-25 12:15:01 +03:00
denizdiktas 95eb1f5904 separating the geometry from topology: vertices -> points, edges -> curves 2023-07-25 11:18:39 +03:00
denizdiktas 38376c3fbe Added: correct code to traverse the outer and inner ccbs of all faces 2023-07-25 10:11:52 +03:00
denizdiktas c2f323b55a saving the vertices and edges for now (intermediate commit) 2023-07-24 17:18:54 +03:00
denizdiktas 3009fc4728 Fixed: Antarctica in no longer identified as one of the newly created faces. 2023-07-18 20:01:36 +03:00
denizdiktas f5f0995a62 Finished: code to identify the newly created faces: previous approach changed. Newly added faces are shown in red 2023-07-18 17:42:26 +03:00
denizdiktas 302f36b9ef working on finding out the newly created faces in the arrangement 2023-07-18 12:17:48 +03:00
denizdiktas 9014f8833e Initial implementation of checking the newly created faces during the arrangement construction 2023-07-17 17:54:24 +03:00
denizdiktas 78cead66e2 minor refactor 2023-07-12 17:28:34 +03:00
denizdiktas 2d2174d2cc Added: code to check for problematic nodes in Africa region and verify the redundant node in Antarctica 2023-07-11 21:34:15 +03:00
denizdiktas 824d9890c5 minor refactor 2023-07-10 20:38:27 +03:00
denizdiktas 83d22ace80 node-collapsing (very basic) 2023-07-10 20:12:51 +03:00
denizdiktas 258b40a7d7 Working on identifying the vertex problems 2023-07-10 15:52:04 +03:00
denizdiktas ea0604eddc Implemented: defining polygons with node-ids 2023-07-08 13:29:41 +03:00
denizdiktas 7ba83df90a Added: identification curve in the scene 2023-07-07 14:56:05 +03:00
denizdiktas 9f98df3d16 Refactor 2023-07-05 12:35:18 +03:00
denizdiktas 32446d30c2 Refactor: moved common arc construction code in Aos to anonymous namespace functions (might still need to refactor common code further) 2023-07-04 12:41:17 +03:00
denizdiktas 434c219b52 Moved arc construction into Aos as static (make it non-static member function?) 2023-07-04 12:11:20 +03:00
denizdiktas 1c934d7302 Corrected the rendering and arrangement construction logic (TODO: we need to take outer and inner boundaries separately) 2023-07-03 17:10:45 +03:00
denizdiktas 2b251e5052 Changed: KML data structure to reflect the geometry correctly 2023-07-03 16:49:27 +03:00