Commit Graph

137 Commits

Author SHA1 Message Date
Iordan Iordanov e9abcec1df Removed old traits class (moved to branch INRIA/Periodic_2g_hyperbolic_triangulation_2-IIordanov) 2019-01-02 14:01:38 +01:00
Iordan Iordanov 71327aad01 Modified CK traits class to follow the modifs made by Mael; factorized code in the two traits classes 2018-12-30 22:19:18 +01:00
Iordan Iordanov 3e8f19bc7c Changed declaration of Construct_segment_2 object (plus _object() function) 2018-12-30 18:14:25 +01:00
Iordan Iordanov 21b841c9f4 Added new functions point(Vertex_handle) and point(Face_handle, int) 2018-12-30 17:47:29 +01:00
Iordan Iordanov e5eab9fe46 Resolved a few todo's 2018-12-30 17:21:15 +01:00
Iordan Iordanov 3e9ad7ea94 Added missing functions (todo list in documentation) 2018-12-27 20:54:52 +01:00
Mael Rouxel-Labbé 94e9ae9667 Cleaned P4HT2 tests 2018-12-20 10:20:21 +01:00
Mael Rouxel-Labbé 5084e6db5b Fixed Periodic/Weighted triangulation tags 2018-12-20 09:48:07 +01:00
Mael Rouxel-Labbé 0055cb5a0b Added missing functors for in HDTTraits (needed by P4HT2) 2018-12-20 09:29:48 +01:00
Mael Rouxel-Labbé 322ddd50c8 Fixed headers / licenses in HT2 / P4_HT2 2018-12-19 20:31:49 +01:00
Mael Rouxel-Labbé 42e151372e Fixed HT_2 includes 2018-12-19 19:36:37 +01:00
Mael Rouxel-Labbé 33908ab7a2 Code improvements in HT_2
- Fixed missing consts
- Fixed warnings
- Rewrote the most common traits class (others to do)
- Various tiny improvements
- ...
2018-12-19 16:08:27 +01:00
Mael Rouxel-Labbé 2b580e7a21 Cleaned HT_2 code 2018-12-19 13:13:17 +01:00
Iordan Iordanov c3116b0d59 changed default template parameter for the kernel 2018-12-05 07:52:15 +01:00
Iordan Iordanov c4f687ef6a Fixed access modified for class Hyperbolic_faces_iterator 2018-11-16 18:36:58 +01:00
Iordan Iordanov 8148420b49 Removed 'Construct_hyperbolic_point_2' and _object() functions from traits classes 2018-11-14 18:46:20 +01:00
Iordan Iordanov 6fa8ba5c25 removed class Mark_face and relative calls 2018-09-24 14:56:47 +02:00
Iordan Iordanov deb10cab5f fixed type (wrong Kernel name) 2018-09-16 19:09:39 +02:00
Iordan Iordanov 5f11148551 added object Construct_hyperbolic_point (traits class and concept) 2018-09-08 10:33:22 +02:00
Iordan Iordanov 7f231a3f96 changed geometryc types according to the renames in the Traits classes; removed 'is_infinite' functions (now using Base::is_infinite where appropriate) 2018-09-03 13:49:54 +02:00
Iordan Iordanov af3b43b4db added 'Hyperbolic' to point, triangle, and Voronoi_point types 2018-09-03 13:46:30 +02:00
Iordan Iordanov e2a38021d5 removed functions 'mirror_index' from face base 2018-09-03 13:44:35 +02:00
Iordan Iordanov 5e0cb218fa removing extra face class 2018-09-03 12:40:57 +02:00
Iordan Iordanov 1641e32ed0 renamed segment() and triangle() to hyperbolic_segment() and hyperbolic_triangle(); note that DT_2 still needs triangle() and segment(), so these members are left undocumented; changes to demo to account for renames 2018-08-23 22:55:50 +02:00
Iordan Iordanov 731d95aee8 renamed circulators and iterators from Finite_ and Hyperbolic_ to All_; changes to demo to account for renames 2018-08-23 22:55:50 +02:00
Iordan Iordanov 8fe498884f renamed function get_conflicts() to find_conflicts() 2018-08-23 22:55:50 +02:00
Iordan Iordanov a06120f04d fix for 'side_of_oriented_hyperbolic_segment_object()' (it was missing the suffix _object()) 2018-08-23 22:55:50 +02:00
Iordan Iordanov 72676baf17 removed flags from face base, substituted with tds_data(),which is of type CGAL::Object; to discuss: Mark_face tester in triangulation class 2018-08-23 15:14:19 +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 7715a2c605 renamed flag-setting functions in Face base class to 'set_flag' and 'set_char' to hide low-leven functionality; will be required in the concept 2018-08-11 13:30:49 +02:00
Iordan Iordanov 4da5b7b4de renamed 'incident_vertices' to 'adjacent_vertices'; added a new circulator to ensure that adjacent vertices are connected with hyperbolic edges 2018-08-11 12:58:36 +02:00
Iordan Iordanov 11d82968b2 added function to ensure that the face pointed to by a vertex is always hyperbolic 2018-08-09 10:52:55 +02:00
Iordan Iordanov e133fcea32 removed object Side_of_hyperbolic_triangle from traits; added object Side_of_oriented_hyperbolic_segment in traits; added function side_of_hyperbolic_triangle in triangulation class 2018-08-08 22:41:01 +02:00
Iordan Iordanov a4851a8ef9 renamed functions 'is_non_hyperbolic' to 'is_Delaunay_hyperbolic' (for consistency in affirmative queries) 2018-08-08 21:33:39 +02:00
Iordan Iordanov 8287d55a98 renamed predicate 'Is_hyperbolic' to 'Is_Delaunay_hyperbolic' 2018-08-08 21:26:18 +02:00
Iordan Iordanov 08c11a06aa bugfix (conflicting Locate_type decarations) 2018-06-11 18:02:14 +02:00
Iordan Iordanov 158fcfd24b added suffix '_base' to private class Circular_arc_2; gcc could not differentiate the class from the typedef and was throwing an error 2018-06-04 11:28:28 +02:00
Iordan Iordanov 3ee5441819 added enum for Locate_type 2018-05-22 10:56:16 +02:00
Iordan Iordanov 967b369c0b changed inheritance from public to private for triangulation class; added Triangle_2 class in traits 2018-05-09 11:08:31 +02:00
Iordan Iordanov 1720dd20c2 correction to locate; correction to typedef name for return type of Side_of_hyperbolic_triangle 2018-03-20 15:09:25 +01:00
Iordan Iordanov 4c7ba72443 added locate() 2018-03-19 19:50:48 +01:00
Iordan Iordanov ff41b81c0f renamed Voronoi_point to Voronoi_point_2 in traits; renamed Point_2 to Point in triangulaiton; removed Hyperbolic_circumcenter_2::operator()(Face_handle) from traits 2018-03-19 10:35:23 +01:00
Iordan Iordanov a07bca5c7c removed redundant 'typename' 2018-03-16 16:33:08 +01:00
Iordan Iordanov 28259028ab renamed method is_hyperbolic_object() to start with a lowercase letter; in face base class, changed assert() to CGAL_triangulation_precondition() 2018-03-16 16:30:56 +01:00
Iordan Iordanov b3bfc2b373 Added missing cases from construction of hyperbolic circumcenter; small modifications to benchmark with different kernels 2018-03-12 15:38:54 +01:00
Iordan Iordanov 0972a9589d Fix for missing cases when computing circumcenter 2018-03-12 10:27:47 +01:00
Iordan Iordanov 7bc87e7f4c removed inexact constructions 2018-03-09 11:45:10 +01:00
Iordan Iordanov 1921a928ca The traits with CORE now use the same constructions as the traits with CK 2018-03-08 17:27:53 +01:00
Iordan Iordanov d2b5f66280 removed object Side_of_hyperbolic_face from Misha's traits 2018-03-08 11:57:15 +01:00
Iordan Iordanov d0055395d8 Merging branch Hyperbolic_triangulation_2-MBogdanov into branch Periodic_4_hyperbolic_triangulation_2-IIordanov; branch Hyperbolic_triangulation_2-MBogdanov will be DELETED after this operation 2018-03-08 11:03:02 +01:00
Iordan Iordanov 5bf97da410 CK traits now uses Weighted_point_2 from Kernel; class cleanup (removed commented items and output messaged) 2018-03-01 11:38:08 +01:00
Iordan Iordanov 81aa1abc3d 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 11:07:28 +01:00
Iordan Iordanov f3eeeddb7b removed useless sqrt() 2018-03-01 11:07:28 +01:00
Iordan Iordanov f620928aaf renamed Simple_circular_arc_2 to Circular_arc_2 in the traits with kernel; removed costly assertions from constructions 2018-03-01 11:07:28 +01:00
Iordan Iordanov 6483516c5c cleanup of Hyperbolic_triangulation_2 -- unnecessary files migrated to INRIA/Periodic_2g_hyperbolic_triangulation_2-IIordanov 2018-03-01 11:07:28 +01:00
Iordan Iordanov 6aff91506e added kernel with template; demos work with both kernels now (see precompiler parameter) 2018-03-01 10:52:06 +01:00
Iordan Iordanov 3440d43796 renamed Misha's traits in view of upcoming modifications 2018-03-01 10:52:06 +01:00
Sébastien Loriot d5bdf05843 fix license headers 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 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 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 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 bffb5f8cd8 change of syntax with boost::tuple to please clang 5.0 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 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 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 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 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 bb43abe344 implemented some predicates evaluations described in the corresponding paper. 2018-03-01 10:43:42 +01:00
Mikhail Bogdanov 1ada594b96 move our experimental package with its history to its new branch 2018-03-01 10:42:39 +01:00