Commit Graph

331 Commits

Author SHA1 Message Date
Sébastien Loriot d5bdf05843 fix license headers 2018-03-01 10:52:06 +01:00
Iordan Iordanov 494dd7f8dd UI modifications (icons now appear on the demo window) 2018-03-01 10:52:06 +01:00
Monique Teillaud bd9b60f7cc The traits class now uses circular kernel.
- dual functions in Delaunay class fixed (but code should still be improved)
- examples and demos modified accordingly
- broken: Hyperbolic_random_points_in_disc_2 and benchmarks (problems with number types)
2018-03-01 10:51:29 +01:00
Monique Teillaud 8c88155cc7 demos translations and periodic abandoned (files will be cleaned later) 2018-03-01 10:51:29 +01:00
Monique Teillaud 240d6ec0fc repair benchmark programs after today's changes 2018-03-01 10:51:29 +01:00
Monique Teillaud 5bef845325 details 2018-03-01 10:51:29 +01:00
Monique Teillaud cc498412f7 added face base with info (+ example) 2018-03-01 10:51:29 +01:00
Monique Teillaud 5499e265ff added dual of face, using hyperbolic circumcenter from the traits (not Euclidean...)
cleaned dual of edge
2018-03-01 10:51:29 +01:00
Monique Teillaud dc89da9a11 renamed circumcenter to hyperbolic_circumcenter 2018-03-01 10:51:29 +01:00
Monique Teillaud f850b49090 renamed Hyperbolic_triangulation_traits_2 to Hyperbolic_Delaunay_triangulation_traits_2 2018-03-01 10:51:29 +01:00
Monique Teillaud e2f43b02ba clean todos 2018-03-01 10:51:29 +01:00
Monique Teillaud afc23a1f08 basic cleaning
- qpl -> gpl !!
- removed unused debug code
- indent
+ for some unknown reason, the previous commit about face_base was not complete...
2018-03-01 10:51:29 +01:00
Monique Teillaud 40d99e3978 added Hyperbolic_triangulation_face_base_2 instead of using Triangulation_face_base_2<Hyperbolic_info>
This allows users to easily benefit from rebind (and it makes the code easier to read)
2018-03-01 10:51:29 +01:00
Monique Teillaud 86f6f2cff2 rmoved private _unit_circle everywhere.
The Poincare disc is the uniquely defined  unit disc, the user cannot choose anything here.
2018-03-01 10:51:29 +01:00
Monique Teillaud 97ba697aee one more name fixed 2018-03-01 10:51:29 +01:00
Monique Teillaud 359cfc4085 hard code that Poincare disc center = Point_2(cgal origin) and its [squared] radius = FT(1) 2018-03-01 10:51:29 +01:00
Monique Teillaud dd573d7cd4 traits class now derives from template argument (meant to be a model of Kernel)
cleaning of useless types and includes
cleaning of names (Euclidean vs hyperbolic)
2018-03-01 10:51:29 +01:00
Monique Teillaud 78abe61557 start cleaning names
changed invisible to non_hyperbolic
changed is_infinite to non_hyperbolic when needed
      (is_infinite is still kept for compatibility with Triangulation_2 demo, which is reused)
changed Finite_faces/edges_iterators to Hyperbolic_faces/edges_iterators
      (Finite* also kept for demo)
and example modified to allow deterministic testing
2018-03-01 10:51:29 +01:00
Monique Teillaud a3f5238e4c the exemple now shows the two different algorithms
(it is currently used as basic testsuite)
2018-03-01 10:51:29 +01:00
Monique Teillaud 6d9b0fe3f4 added dont_submit
basic fix of copyright headers
changed Triangulation_hyperbolic_traits into Hyperbolic_triangulation_traits
changed Delaunay_hyperbolic_triangulation into Hyperbolic_Delaunay_triangulation
2018-03-01 10:51:29 +01:00
Monique Teillaud c88552cf44 fix directory structure for package info 2018-03-01 10:51:29 +01:00
Monique Teillaud 3949c16fb3 move a few files to new directory benchmarks 2018-03-01 10:51:29 +01:00
Monique Teillaud 83709b6baf trivial bug fix in example 2018-03-01 10:51:29 +01:00
Monique Teillaud ebee377df9 Hyperbolic_triangulation_2: added package info 2018-03-01 10:51:29 +01:00
Iordan Iordanov aaf1807404 Modifications regarding AUTOUIC in CMakeFiles.txt 2018-03-01 10:51:29 +01:00
Iordan Iordanov f2bb82992a Modifications regarding AUTOUIC in CMakeFiles.txt 2018-03-01 10:51:29 +01:00
Iordan Iordanov 1fbeec4367 Corrections for CMakeLists.txt and minor changes regarding Qt5 moc requirements 2018-03-01 10:51:29 +01:00
Iordan Iordanov 8c31d22f47 Better CMake file. 2018-03-01 10:49:41 +01:00
Aymeric PELLE 2667645395 Default values of OriginalDomainNeighbors constructor are moved in the class.
They were located outside of the class.
2018-03-01 10:47:41 +01:00
Monique Teillaud 9e486b6df8 isnan, isinf, copysign added (but to be fixed) to please libc++. The second demo compiles now. 2018-03-01 10:47:41 +01:00
Monique Teillaud 7f77e3decd remove useless include 2018-03-01 10:47:41 +01:00
Monique Teillaud bffb5f8cd8 change of syntax with boost::tuple to please clang 5.0 2018-03-01 10:47:41 +01:00
Aymeric PELLE 0865d6d5f1 Fix unexpected typedef errors. Fix include in octagon demo. 2018-03-01 10:47:41 +01:00
Mikhail Bogdanov 7d8f4a827b empty body of insert_dummy_points 2018-03-01 10:44:22 +01:00
Mikhail Bogdanov 7f19c3ae02 add temp.h 2018-03-01 10:44:22 +01:00
Mikhail Bogdanov 7fc36822be new file 2018-03-01 10:44:22 +01:00
Mikhail Bogdanov 0a650761eb commented a line 2018-03-01 10:44:22 +01:00
Mikhail Bogdanov ac6be3368b cosmetic 2018-03-01 10:44:22 +01:00
Mikhail Bogdanov 9c932f57f7 cosmetic 2018-03-01 10:44:22 +01:00
Mikhail Bogdanov 8f328e6189 cosmetic 2018-03-01 10:44:22 +01:00
Mikhail Bogdanov e975517085 add colors 2018-03-01 10:44:22 +01:00
Mikhail Bogdanov 7472550b03 cosmetic 2018-03-01 10:44:22 +01:00
Mikhail Bogdanov e2ce44f520 cosmetic 2018-03-01 10:44:22 +01:00
Mikhail Bogdanov 59d724f426 main demo files 2018-03-01 10:44:22 +01:00
Mikhail Bogdanov 51b0bc64f8 demo in progress 2018-03-01 10:44:22 +01:00
Mikhail Bogdanov efa61f98f0 periodic stuff 2018-03-01 10:44:22 +01:00
Mikhail Bogdanov 509393893b draw lines instead of arcs, if the supporting spheres are too big 2018-03-01 10:44:22 +01:00
Mikhail Bogdanov c83af015a0 modified and moved the predicate Is_hyperbolic to the traits 2018-03-01 10:44:22 +01:00
Mikhail Bogdanov 5a9c80dd75 adjust the coords of the disk to the coords of the view port 2018-03-01 10:44:22 +01:00
Mikhail Bogdanov c452f9d8eb delete file 2018-03-01 10:44:22 +01:00
Mikhail Bogdanov dd44b8acca small changes in demo 2018-03-01 10:44:22 +01:00
Mikhail Bogdanov 2d4a0da228 delete outdated files 2018-03-01 10:44:22 +01:00
Mikhail Bogdanov 025ad2052c tests 2018-03-01 10:44:22 +01:00
Mikhail Bogdanov c2f10e2102 add generation of random points according to the hyperbolic metric 2018-03-01 10:44:22 +01:00
Mikhail Bogdanov 98a3635aa7 commmit changes done in the base directory of the package 2018-03-01 10:44:22 +01:00
Mikhail Bogdanov 5ad5ed837b tests are changed for the paper 2018-03-01 10:44:22 +01:00
Mikhail Bogdanov 3ea080c409 Change and Add some functionality: we can see words corresponding to translations 2018-03-01 10:44:22 +01:00
Mikhail Bogdanov bb43abe344 implemented some predicates evaluations described in the corresponding paper. 2018-03-01 10:43:42 +01:00
Monique Teillaud d14825a71c fix path 2018-03-01 10:43:42 +01:00
Mikhail Bogdanov b7fb591a19 migrating to the new branch: changed CMakeLists 2018-03-01 10:42:39 +01:00
Mikhail Bogdanov 1ada594b96 move our experimental package with its history to its new branch 2018-03-01 10:42:39 +01:00
Iordan Iordanov 20fa2c145a added benchmark comparing the performance of the two traits classes (CK vs CORE::Expr) 2018-03-01 09:53:45 +01:00
Iordan Iordanov 6d0785d1a7 Added type Voronoi_point to both traits classes; Made class Circular_arc_2 internal of the CORE traits class (avoids conflicts if CK is included) 2018-03-01 09:52:02 +01:00
Iordan Iordanov 4cdd12eab4 removed useless sqrt() 2018-03-01 09:24:19 +01:00
Iordan Iordanov 0bc3f5e76a renamed Simple_circular_arc_2 to Circular_arc_2 in the traits with kernel; removed costly assertions from constructions 2018-02-28 19:25:18 +01:00
Iordan Iordanov 8e10a13285 cleanup of Hyperbolic_triangulation_2 -- unnecessary files migrated to INRIA/Periodic_2g_hyperbolic_triangulation_2-IIordanov 2018-02-28 18:18:51 +01:00
Iordan Iordanov 78fb8e814e added kernel with template; demos work with both kernels now (see precompiler parameter) 2018-02-26 11:08:01 +01:00
Iordan Iordanov ea2b05ffec renamed Misha's traits in view of upcoming modifications 2018-02-26 09:25:09 +01:00
Sébastien Loriot 88f6c2985e fix license headers 2017-05-19 09:43:22 +02:00
Iordan Iordanov 67dc38ece8 UI modifications (icons now appear on the demo window) 2016-09-19 15:21:35 +02:00
Monique Teillaud 5476b75809 The traits class now uses circular kernel.
- dual functions in Delaunay class fixed (but code should still be improved)
- examples and demos modified accordingly
- broken: Hyperbolic_random_points_in_disc_2 and benchmarks (problems with number types)
2016-08-11 17:15:18 +02:00
Monique Teillaud 559dd876a4 demos translations and periodic abandoned (files will be cleaned later) 2016-08-04 16:31:37 +02:00
Monique Teillaud 61575d4e49 repair benchmark programs after today's changes 2016-08-04 16:15:11 +02:00
Monique Teillaud 34c76815ce details 2016-08-04 16:02:22 +02:00
Monique Teillaud 3e4c523367 added face base with info (+ example) 2016-08-04 15:47:15 +02:00
Monique Teillaud 9e0fd08949 added dual of face, using hyperbolic circumcenter from the traits (not Euclidean...)
cleaned dual of edge
2016-08-04 14:48:07 +02:00
Monique Teillaud f9684cdf45 renamed circumcenter to hyperbolic_circumcenter 2016-08-04 13:57:44 +02:00
Monique Teillaud 4a1b333144 renamed Hyperbolic_triangulation_traits_2 to Hyperbolic_Delaunay_triangulation_traits_2 2016-08-04 13:30:16 +02:00
Monique Teillaud cc2cc3880a clean todos 2016-08-04 12:05:59 +02:00
Monique Teillaud 4760258b92 basic cleaning
- qpl -> gpl !!
- removed unused debug code
- indent
+ for some unknown reason, the previous commit about face_base was not complete...
2016-08-04 11:42:50 +02:00
Monique Teillaud c6786b9ea6 added Hyperbolic_triangulation_face_base_2 instead of using Triangulation_face_base_2<Hyperbolic_info>
This allows users to easily benefit from rebind (and it makes the code easier to read)
2016-08-04 11:20:50 +02:00
Monique Teillaud 6fbb796a59 rmoved private _unit_circle everywhere.
The Poincare disc is the uniquely defined  unit disc, the user cannot choose anything here.
2016-08-04 09:38:51 +02:00
Monique Teillaud 1e23f8dce7 one more name fixed 2016-08-03 18:42:59 +02:00
Monique Teillaud 1d26f6b37a hard code that Poincare disc center = Point_2(cgal origin) and its [squared] radius = FT(1) 2016-08-03 18:32:52 +02:00
Monique Teillaud 61ded8fc1e traits class now derives from template argument (meant to be a model of Kernel)
cleaning of useless types and includes
cleaning of names (Euclidean vs hyperbolic)
2016-08-03 16:55:14 +02:00
Monique Teillaud 706195c3ee start cleaning names
changed invisible to non_hyperbolic
changed is_infinite to non_hyperbolic when needed
      (is_infinite is still kept for compatibility with Triangulation_2 demo, which is reused)
changed Finite_faces/edges_iterators to Hyperbolic_faces/edges_iterators
      (Finite* also kept for demo)
and example modified to allow deterministic testing
2016-08-03 10:47:02 +02:00
Monique Teillaud 5c89b69947 the exemple now shows the two different algorithms
(it is currently used as basic testsuite)
2016-08-02 17:13:50 +02:00
Monique Teillaud ac3cece91b added dont_submit
basic fix of copyright headers
changed Triangulation_hyperbolic_traits into Hyperbolic_triangulation_traits
changed Delaunay_hyperbolic_triangulation into Hyperbolic_Delaunay_triangulation
2016-07-20 10:58:00 +02:00
Monique Teillaud 84d5a15ecd fix directory structure for package info 2016-07-19 14:31:56 +02:00
Monique Teillaud 4a56187a1c move a few files to new directory benchmarks 2016-07-12 14:47:48 +02:00
Monique Teillaud 790f680c60 trivial bug fix in example 2016-07-12 14:40:35 +02:00
Monique Teillaud 63cdcb5957 Hyperbolic_triangulation_2: added package info 2016-07-12 11:34:10 +02:00
Iordan Iordanov c1ffc601d6 Modifications regarding AUTOUIC in CMakeFiles.txt 2016-02-10 04:09:34 +01:00
Iordan Iordanov 86abce2489 Modifications regarding AUTOUIC in CMakeFiles.txt 2016-02-10 04:07:24 +01:00
Iordan Iordanov 6e2616a9fa Corrections for CMakeLists.txt and minor changes regarding Qt5 moc requirements 2016-02-03 17:48:58 +01:00
Iordan Iordanov 25be730c1c Better CMake file. 2016-02-02 11:07:44 +01:00
Iordan Iordanov c6798953f0 Merge branch 'Hyperbolic_triangulation_2-MBogdanov-old' into Hyperbolic_triangulation_2-MBogdanov 2016-02-02 10:59:53 +01:00
Aymeric PELLE 82928cb969 Merge branch 'Hyperbolic_triangulation_2-MBogdanov' of ssh://scm.cgal.org/var/git/cgal into Hyperbolic_triangulation_2-MBogdanov 2014-08-08 16:44:21 +02:00
Aymeric PELLE 5a995644f5 Default values of OriginalDomainNeighbors constructor are moved in the class.
They were located outside of the class.
2014-08-08 16:25:04 +02:00
Monique Teillaud c78b1a63b8 isnan, isinf, copysign added (but to be fixed) to please libc++. The second demo compiles now. 2014-08-08 15:51:01 +02:00
Monique Teillaud 2072ebe64d remove useless include 2014-08-06 14:13:31 +02:00
Monique Teillaud 48b4e76933 change of syntax with boost::tuple to please clang 5.0 2014-08-06 12:05:17 +02:00
Aymeric PELLE a64f7be6ff Fix unexpected typedef errors. Fix include in octagon demo. 2014-08-05 18:47:26 +02:00
Mikhail Bogdanov b405ccd60e empty body of insert_dummy_points 2014-08-05 18:00:02 +02:00
Mikhail Bogdanov 4dab54e048 add temp.h 2014-08-05 18:00:02 +02:00
Mikhail Bogdanov 50e7056be7 new file 2014-08-05 18:00:02 +02:00
Mikhail Bogdanov fda17b10b3 commented a line 2014-08-05 18:00:02 +02:00
Mikhail Bogdanov c39b8461d8 cosmetic 2014-08-05 18:00:02 +02:00
Mikhail Bogdanov 0552cc194f cosmetic 2014-08-05 18:00:02 +02:00
Mikhail Bogdanov d1f202fba6 cosmetic 2014-08-05 18:00:02 +02:00
Mikhail Bogdanov 8e90886c94 add colors 2014-08-05 18:00:01 +02:00
Mikhail Bogdanov 02f205e5e7 cosmetic 2014-08-05 18:00:01 +02:00
Mikhail Bogdanov 88be7d0a09 cosmetic 2014-08-05 18:00:01 +02:00
Mikhail Bogdanov 00f0b5aef1 main demo files 2014-08-05 18:00:01 +02:00
Mikhail Bogdanov 118a277446 demo in progress 2014-08-05 18:00:01 +02:00
Mikhail Bogdanov d9b75e296a periodic stuff 2014-08-05 18:00:01 +02:00
Mikhail Bogdanov 4feb494e7f draw lines instead of arcs, if the supporting spheres are too big 2014-08-05 18:00:00 +02:00
Mikhail Bogdanov 27a81e581d modified and moved the predicate Is_hyperbolic to the traits 2014-08-05 18:00:00 +02:00
Mikhail Bogdanov 221d624d73 adjust the coords of the disk to the coords of the view port 2014-08-05 18:00:00 +02:00
Mikhail Bogdanov 1aa515b47a delete file 2014-08-05 18:00:00 +02:00
Mikhail Bogdanov 9b5c154a31 small changes in demo 2014-08-05 18:00:00 +02:00
Mikhail Bogdanov 2722c2f5f6 delete outdated files 2014-08-05 18:00:00 +02:00
Mikhail Bogdanov f33944bce5 tests 2014-08-05 18:00:00 +02:00
Mikhail Bogdanov 8abf5026cf add generation of random points according to the hyperbolic metric 2014-08-05 18:00:00 +02:00
Mikhail Bogdanov db52f5b64f commmit changes done in the base directory of the package 2014-08-05 18:00:00 +02:00
Mikhail Bogdanov 17027554d0 tests are changed for the paper 2014-08-05 17:59:59 +02:00
Mikhail Bogdanov 7c7db43cf1 Change and Add some functionality: we can see words corresponding to translations 2014-08-05 17:59:59 +02:00
Mikhail Bogdanov 256abb5e55 implemented some predicates evaluations described in the corresponding paper. 2014-08-05 17:59:59 +02:00
Monique Teillaud 9b532e642c fix path 2014-08-05 17:59:59 +02:00
Mikhail Bogdanov 2f89d3e8c0 migrating to the new branch: changed CMakeLists 2014-08-05 17:59:59 +02:00
Mikhail Bogdanov 35a23aa8e2 move our experimental package with its history to its new branch 2014-08-05 17:59:59 +02:00