Commit Graph

140 Commits

Author SHA1 Message Date
Iordan Iordanov 65addc1eac removed wrong 'const' modifier 2018-09-04 12:39:24 +02:00
Iordan Iordanov b6f74b0ac0 changed hierarchy for face and vertex classes; changed triangulation classes accordingly 2018-09-04 09:33:01 +02:00
Iordan Iordanov 2c0900cfaa modificationd to Periodic_4_hyperbolic_Delaunay_triangulation: added constructor with point range; added function 'is_valid()'; renamed 'get_conflicts()' to 'find_conflicts()' 2018-08-27 16:04:29 +02:00
Iordan Iordanov 9064e2d376 modificationd to Periodic_4_hyperbolic_triangulation_2: changed Point declaration; modified has_vertex signature; renamed functions 'incident_vertices()' to 'adjacent_vertices()' 2018-08-27 15:14:00 +02:00
Iordan Iordanov 1d04559a14 added '_object' function for Compute_approximate_hyperbolic_diameter 2018-08-27 14:29:33 +02:00
Iordan Iordanov 4e9039c34c added 'const' access modifier in 'set_translation()' 2018-08-27 11:08:34 +02:00
Iordan Iordanov 46aae9bc84 added 'const' access modifier to 'set_translation()' 2018-08-27 10:58:30 +02:00
Iordan Iordanov 14861cf93e small bigfix: comparison instead of assignment in function side_of_hyperbolic_triangle() 2018-08-18 13:51:08 +02:00
Iordan Iordanov 3316037fad updated traits class by replacing Side_of_hyperbolic_triangle with Side_of_oriented_hyperbolic_segment; added function side_of_hyperbolic_triangle to class Periodic_4_hyperbolic_triangulation; changed locate() function to more efficient version 2018-08-12 09:54:57 +02:00
Iordan Iordanov 636dbb3abf changed return type of 'remove()' to 'bool' to indicate if the vertex has been removed or not 2018-06-04 10:44:14 +02:00
Iordan Iordanov 47e6699ce4 added a few comments to the code, explaining that the flag in is not documented 2018-05-22 11:56:46 +02:00
Iordan Iordanov 8f92bd787d removed TDS_data from face class; replaced find_conflicts with get_conflicts 2018-05-21 19:53:55 +02:00
Iordan Iordanov a6df830fdd changed inheritance for face and vertex classes; changed templates in triangulation classes accordingly 2018-05-18 17:17:40 +02:00
Iordan Iordanov ee4335260e moved make_canonical from face class to triangulation class; access level set to 'protected' 2018-05-18 11:05:44 +02:00
Iordan Iordanov c516594ec3 moved function neighbor_translation from face class to triangulation class; added an overload for periodic_triangle 2018-05-18 10:24:51 +02:00
Iordan Iordanov a8a6e70a8e removed dependence of Periodic_4_hyperbolic_triangulation_2 from Triangulation_2; moved all location functions in the base triangulation class; changes throughout to account for these modifications 2018-05-17 17:47:31 +02:00
Iordan Iordanov 367f6dc7c7 renamed Geometric_traits to Geom_traits 2018-05-09 11:56:22 +02:00
Iordan Iordanov df7bd4a5de preliminary modifications to Delaunay triangulation class to make it consistent with modifications to base triangulation class 2018-05-09 11:19:57 +02:00
Iordan Iordanov f688da3ff3 removed redundant and wrong functions from basic triangulation class; renamed functions to maintain consistency with other packages; implemented some changes in the traits class; used the correct function in the dummy points initialization 2018-05-09 11:19:03 +02:00
Iordan Iordanov 99723330df changed inheritance of vertex base; forwarded methods from base class 2018-05-09 11:14:20 +02:00
Iordan Iordanov cbf19ac58b changed inheritance of face base; forwarded methods from base class 2018-05-09 11:14:03 +02:00
Iordan Iordanov 2114776210 Periodic_hyperbolic now uses the Side_of_hyperbolic_triangle from Hyperbolic 2018-03-20 15:20:22 +01:00
Iordan Iordanov 5358822b3e insert_in_hole is now protected (instead of public) in basic triangulation class 2018-03-20 13:47:43 +01:00
Iordan Iordanov 051a673fa0 using Locate_type from Triangulation_2 instead of internal re-definition 2018-03-20 13:28:29 +01:00
Iordan Iordanov ef8e8ad778 moved dummy points header into internal/ subfolder 2018-03-20 13:20:45 +01:00
Iordan Iordanov 3d14d6bfad reorganised directory structure 2018-03-20 11:54:46 +01:00
Iordan Iordanov 6435ffcaba Removed Exact_complex.h from periodic triangulaiton -- using it from Hyperbolic_triangulation_2 now 2018-03-20 11:46:21 +01:00
Iordan Iordanov dc052fb5d5 fixed demo slowness issue -- everything works as it used to 2018-03-12 18:19:03 +01:00
Iordan Iordanov d3325162dd Corrections to computation of inexact hyperbolic circumcenter; code cleanup 2018-03-12 15:43:05 +01:00
Iordan Iordanov 1c8a08ebe5 Fix for missing cases when computing inexact hyperbolic circumcenter 2018-03-12 10:28:45 +01:00
Iordan Iordanov 29a33ccede fixed issue with slow insertion in the presence of dummy points 2018-03-12 09:16:10 +01:00
Iordan Iordanov deb2d30220 Traits class inherits from Hyperbolic traits now; TODO: investigate why triangulation is so slow 2018-03-09 11:47:38 +01:00
Iordan Iordanov 8985edbfa1 moved Qt headers inside demo folder 2018-03-08 11:38:25 +01:00
Iordan Iordanov 30f6fb9dc8 Fixed compialtion error for demo; Changed demo project name in CMakeLists 2018-03-08 11:21:49 +01:00
Iordan Iordanov c00b75c345 deleted redundant file 2017-12-25 15:37:05 +01:00
Iordan Iordanov 4831da29ba correct file for Exact_complex.h 2017-12-25 15:33:42 +01:00
Iordan Iordanov 66ef613906 bug fix (thanks to Siargey Kachanovich) 2017-12-18 11:21:43 +01:00
Iordan Iordanov 57af0515f6 Corrections to the hyperbolic billiards demo 2017-12-12 11:21:31 +01:00
Iordan Iordanov 18506a9eba Modifications to Traits class: used Olivier's code for hyperbolic constructions. Much cleaner and simpler, also more efficient. 2017-12-08 15:20:26 +01:00
Iordan Iordanov e3cec8cd1a fixed bugs; demo now allows insertion while the conflict zone is showed 2017-11-06 16:46:24 +01:00
Iordan Iordanov bd3a70fba0 Hierarchy changed; Header files renamed; Logic modified to reflect hierarchy modifications 2017-10-31 17:07:19 +01:00
Iordan Iordanov ac799ce972 copyright and license info 2017-03-22 11:20:07 +01:00
Iordan Iordanov b917e16c39 modifications due to idea by Olivier -- significantly better runtime 2017-03-17 14:51:43 +01:00
Iordan Iordanov 25fed3360a cleanup 2017-03-16 19:42:20 +01:00
Iordan Iordanov b66c4afb36 Added optional parameters to improve runtime; Added button to show/hide octagon in the demo 2017-03-16 19:02:31 +01:00
Iordan Iordanov 59d45e86f0 Introduced own intersection in traits; dual implemented; Voronoi diagram in Demo 2017-03-07 11:31:40 +01:00
Iordan Iordanov cab6689327 Modifications to code (faster insertion via spatial sorting) + new test for Euclidean DT_2 2017-02-28 15:51:39 +01:00
Iordan Iordanov fef53805d5 manual drawing of the octagon (no more image overlay); demo can now show circumcircle 2017-02-27 20:45:43 +01:00
Iordan Iordanov 800a14fffd edits to tests and demo; using hyperbolic random point generator 2017-02-27 18:35:31 +01:00
Iordan Iordanov f7799fa3e6 update to exact number type; everything uses now the exact_complex class; also, modfied hyperbolic constructions (in the traits class); updated Qt painter 2017-02-22 18:28:19 +01:00
Iordan Iordanov 3fe9a19cfe Exact hyperbolic locate works; still to do -- handle the cases when the query is located on an edge or on a vertex. 2017-02-15 17:47:05 +01:00
Iordan Iordanov 320cf3d342 Demos are now using the Circular_kernel_2 with CORE::Expr. Also, code has been copied for the traits from Misha's class in order to have hyperbolic constructions (needed for exact locate). Currently working on: correcting exact locate. 2017-02-14 19:27:00 +01:00
Iordan Iordanov 5ee11130b5 removal of dummy points implemented + test 2016-12-13 15:50:13 +01:00
Iordan Iordanov ef50f56dd0 added removability criterion 2016-12-12 22:36:03 +01:00
Iordan Iordanov d110e737bd remove() works 2016-12-12 16:27:36 +01:00
Iordan Iordanov f6fabdd5dc Removed unused file 2016-12-06 11:58:47 +01:00
Iordan Iordanov 50d15ee786 Merge with master (for small feature), plus pending non-committed modifications 2016-12-06 11:54:29 +01:00
Iordan Iordanov 9de24973d6 Merge with master (for small feature), plus pending non-committed modifications 2016-12-06 11:15:43 +01:00
Iordan Iordanov 5bfb1b7635 Update to the latest edition of the code.
Modifications since last update:
	* Offsets are working correctly (append)
	* TDS_2 includes the function insert_in_hole (to be merged from master when available)
	* Insertion (whould) work well
	* Removed a few unnecessary files for QT
	* Corrected dummy points; also corrected initial triangulation
	* Modified convention about the original domain
	* Added a new test
	* Ipelets!
2016-12-06 10:43:00 +01:00
Iordan Iordanov b23c64a679 First working GUI demo of the periodic hyperbolic Delaunay triangulation. For the time being the working features are initialization with dummy points, point insertion, random point insertion, clear() and circumsenter visualization. 2016-12-06 10:40:42 +01:00
Iordan Iordanov f3fd833b4a Update of offsets during point insertion in the periodic hyperbolic triangulation. Preliminary tests look good. 2016-12-06 10:40:42 +01:00
Iordan Iordanov d802fae777 First results with insert(). A new test has been added, it inserts 100 random points (using the predicate to see whether they are valid or not). 2016-12-06 10:40:42 +01:00
Iordan Iordanov 9815a8c9b5 With this commit the Hyperbolic_octagon_translation_matrix no longer uses its own types -- it has been templated to use Geometric_traits passed by the user. This makes more sense, there is no point in using explicit types since we want to give the user full control. The computation of the image of a point under the translation described by an instance of the class still works with doubles, but modifications are coming. 2016-12-06 10:40:42 +01:00
Iordan Iordanov 2af45a5730 Commit for the modifications regarding the initial implementation of the _real_ triangulation of the Bolza surface. For the time being only contains the initialization with the dummy points and a simple test. The demo that existed has been moved into a subdirectory (see the file readme.txt) 2016-12-06 10:40:42 +01:00
Iordan Iordanov d692d3574e Modification for Voronoi diagram graphics (thicker lines) 2016-12-06 10:38:53 +01:00
Iordan Iordanov 7f65e45cbb modifications due to Windows incompatibility 2016-12-06 10:38:53 +01:00
Iordan Iordanov 096b58fdbd Side_of_fundamental_octagon predicate 2016-12-06 10:38:53 +01:00
Iordan Iordanov 126d8c212d Corrections to Dehn's algorithm and renamed classes. First implementation of Periodic Delaunay triangulation in the yperbolic case. 2016-12-06 10:38:53 +01:00
Iordan Iordanov 7a86990289 Modifications to Dehn's algorithm and reorganization of classes hierarchy (inheriting from Misha's classes) 2016-12-06 10:38:53 +01:00
Iordan Iordanov 7fe09fb016 Reorganisation of include/ directory and modifications regarding class hierarchy. Ported a periodic triangulation traits class to the hyperbolic case. 2016-12-06 10:38:53 +01:00
Iordan Iordanov 0488644f6c Changes for the correct ordering of elements in Octagon_matrix, and eliminating rotations of the scene in the Dirichlet demo. 2016-12-06 10:38:53 +01:00
Iordan Iordanov 7bef92b6d9 Added new demo, changes in the folder structure, minor modifications to the code 2016-12-06 10:38:53 +01:00
Iordan Iordanov 10540c2931 Reorganisation of include directories, added functionality under the Edit menu (Modify recursion depth) 2016-12-06 10:38:53 +01:00
Iordan Iordanov 5d1eae585c Initial commit for Periodic_4_hyperbolic_triangulation_2_demo 2016-12-06 10:38:53 +01:00
Iordan Iordanov 440c73312a Update to the latest edition of the code.
Modifications since last update:
	* Offsets are working correctly (append)
	* TDS_2 includes the function insert_in_hole (to be merged from master when available)
	* Insertion (whould) work well
	* Removed a few unnecessary files for QT
	* Corrected dummy points; also corrected initial triangulation
	* Modified convention about the original domain
	* Added a new test
	* Ipelets!
2016-09-22 09:30:48 +02:00
Iordan Iordanov d188081152 First working GUI demo of the periodic hyperbolic Delaunay triangulation. For the time being the working features are initialization with dummy points, point insertion, random point insertion, clear() and circumsenter visualization. 2016-06-16 12:21:30 +02:00
Iordan Iordanov 30ffeb0337 Update of offsets during point insertion in the periodic hyperbolic triangulation. Preliminary tests look good. 2016-06-13 11:37:41 +02:00
Iordan Iordanov 38d15e7fc8 First results with insert(). A new test has been added, it inserts 100 random points (using the predicate to see whether they are valid or not). 2016-06-09 17:44:38 +02:00
Iordan Iordanov 04634409e1 With this commit the Hyperbolic_octagon_translation_matrix no longer uses its own types -- it has been templated to use Geometric_traits passed by the user. This makes more sense, there is no point in using explicit types since we want to give the user full control. The computation of the image of a point under the translation described by an instance of the class still works with doubles, but modifications are coming. 2016-06-08 18:54:42 +02:00
Iordan Iordanov ab14213c35 Commit for the modifications regarding the initial implementation of the _real_ triangulation of the Bolza surface. For the time being only contains the initialization with the dummy points and a simple test. The demo that existed has been moved into a subdirectory (see the file readme.txt) 2016-06-03 19:47:55 +02:00
Iordan Iordanov fb5a870e3a Modification for Voronoi diagram graphics (thicker lines) 2016-05-18 17:43:28 +02:00
Iordan Iordanov 84f28a9f1c modifications due to Windows incompatibility 2016-04-29 20:47:31 +02:00
Iordan Iordanov 80a8de3864 Side_of_fundamental_octagon predicate 2016-04-06 19:41:18 +02:00
Iordan Iordanov 21d461e52e Corrections to Dehn's algorithm and renamed classes. First implementation of Periodic Delaunay triangulation in the yperbolic case. 2016-04-05 19:26:50 +02:00
Iordan Iordanov 2a3e9bac34 Modifications to Dehn's algorithm and reorganization of classes hierarchy (inheriting from Misha's classes) 2016-03-22 10:07:07 +01:00
Iordan Iordanov 5996dd660b Reorganisation of include/ directory and modifications regarding class hierarchy. Ported a periodic triangulation traits class to the hyperbolic case. 2016-03-09 16:56:29 +01:00
Iordan Iordanov e8f984caf0 Changes for the correct ordering of elements in Octagon_matrix, and eliminating rotations of the scene in the Dirichlet demo. 2016-02-24 19:37:05 +01:00
Iordan Iordanov 8b66a67d64 Added new demo, changes in the folder structure, minor modifications to the code 2016-02-24 10:44:26 +01:00
Iordan Iordanov fa96b20374 Reorganisation of include directories, added functionality under the Edit menu (Modify recursion depth) 2016-02-11 18:59:54 +01:00
Iordan Iordanov d16be19200 Initial commit for Periodic_4_hyperbolic_triangulation_2_demo 2016-02-04 18:34:50 +01:00