Commit Graph

317 Commits

Author SHA1 Message Date
Mael Rouxel-Labbé df36355f4e Rename point set 2021-02-01 11:10:46 +01:00
Mael Rouxel-Labbé 8d8ddfb0ff Remove erroneous statement about CH 2021-02-01 11:09:06 +01:00
Mael Rouxel-Labbé ad2e691dac Purge undocumented traits from ref manual 2021-02-01 11:06:16 +01:00
Mael Rouxel-Labbé 240ec38dc4 Fix outdated API usage in example 2021-02-01 11:02:12 +01:00
Mael Rouxel-Labbé 70d7639c23 Do not use delta if the kernel can handle algebraic coordinates 2021-02-01 10:51:07 +01:00
Mael Rouxel-Labbé 48685590ac Get rid of unused doc group 2021-02-01 10:50:15 +01:00
Mael Rouxel-Labbé acbaccfe11 Add namespace for i/ostream in vertex concept 2021-02-01 10:50:01 +01:00
Mael Rouxel-Labbé 4e99206792 Move demo data to Tos2/examples 2021-02-01 10:35:58 +01:00
Mael Rouxel-Labbé d1a187c9f4 Fix documentation of OUTSIDE_CONVEX|AFFINE_HULL (locate type) 2021-01-31 12:53:01 +01:00
Mael Rouxel-Labbé 640dffc12b Misc cleaning 2021-01-31 12:50:52 +01:00
Mael Rouxel-Labbé c5ce2c0e3f Return the correct vertex when TOO CLOSE happens with Tr::dimension < 2 2021-01-31 12:30:34 +01:00
Mael Rouxel-Labbé 0e351785ec Remove superfluous documentation in traits models 2021-01-31 12:29:46 +01:00
Mael Rouxel-Labbé a5a96acd29 Clarify who sets the sphere's parameters + range constructor with center/radius 2021-01-31 12:28:58 +01:00
Mael Rouxel-Labbé 919f58f94b Undocument Geographical Coordinates traits, for now
The issue is that currently all predicates and constructions are based
on a construction to convert from lat/long towards R^3, so the benefits
of the exact representation are lost.

Still, it might be useful in the current state, so just leaving it undocumented.
2021-01-31 12:28:13 +01:00
Mael Rouxel-Labbé 225d1f5d47 Misc minor doc fixes 2021-01-31 12:04:19 +01:00
Mael Rouxel-Labbé a30486a486 Implement + document ranges 2021-01-31 12:03:10 +01:00
Mael Rouxel-Labbé b8014fa7e9 First implementation of Geographical Coordinates (lazily constructs a P3 atm...) 2021-01-29 18:57:09 +01:00
Mael Rouxel-Labbé c1fc62ef14 Specify namespace to avoid calling global functions 2021-01-29 18:56:36 +01:00
Mael Rouxel-Labbé 959bf3ba46 Fix bad value_type 2021-01-29 18:56:21 +01:00
Mael Rouxel-Labbé cb04232036 Fix bad copy paste 2021-01-29 18:55:54 +01:00
Mael Rouxel-Labbé 6b8a2e0a65 const correctness in concepts 2021-01-29 18:55:38 +01:00
Mael Rouxel-Labbé 34ac7eb6bd Rename tests to avoid conflicts with other packages 2021-01-29 14:26:58 +01:00
Mael Rouxel-Labbé 6896211d5f Tiny fixes 2021-01-29 13:37:28 +01:00
Mael Rouxel-Labbé 3e5e2772f8 Remove superfluous traits functions 2021-01-29 12:26:09 +01:00
Mael Rouxel-Labbé 75129563a6 Update existing tests 2021-01-29 12:24:05 +01:00
Mael Rouxel-Labbé 676d309f16 Simplify location function and separation tests to avoid redundant checks 2021-01-29 12:23:19 +01:00
Mael Rouxel-Labbé 756a3c4d9a Add missing getters for edge geometry 2021-01-29 12:22:43 +01:00
Mael Rouxel-Labbé e6dba91060 Update traits classes to new spec 2021-01-29 12:22:16 +01:00
Mael Rouxel-Labbé dfd59a5504 Misc minor fixes 2021-01-29 12:21:40 +01:00
Mael Rouxel-Labbé 19c6ab6e3c Fix implementation of dual fonctions in DTOS2 2021-01-29 12:19:33 +01:00
Mael Rouxel-Labbé fa63bdb96d Fix call to spatial sorting on the sphere 2021-01-29 12:18:42 +01:00
Mael Rouxel-Labbé d19fa52845 Minor fixes to examples 2021-01-29 12:18:11 +01:00
Mael Rouxel-Labbé e4eff7b9a0 Various doc fixes / enhancements 2021-01-29 12:17:29 +01:00
Mael Rouxel-Labbé e6dcea8d7f Start cleaning TOS2 demo 2021-01-29 12:11:38 +01:00
Mael Rouxel-Labbé 7c6381e972 Simplify test_dim_down 2021-01-28 19:08:55 +01:00
Mael Rouxel-Labbé 494f16179b Add missing documented convenience function 2021-01-28 19:08:26 +01:00
Mael Rouxel-Labbé 5cda092ace Remove _in_conflict_flag member (tds_data is used) 2021-01-28 18:32:54 +01:00
Mael Rouxel-Labbé c2d08b9dc2 Remove unused _ghost member of ToS2 2021-01-28 18:32:06 +01:00
Mael Rouxel-Labbé a9da42f048 Extract third point insertion from outside-affine-hull insertion functions 2021-01-28 18:27:33 +01:00
Mael Rouxel-Labbé f2c844ec51 Remove ToS2's old IO functions 2021-01-28 18:26:03 +01:00
Mael Rouxel-Labbé ec85832e51 Use tds_data in conflict gathering in ToS2 2021-01-28 18:25:42 +01:00
Mael Rouxel-Labbé f0e8b8cc77 Add write_OFF for ToS2 2021-01-28 18:24:20 +01:00
Mael Rouxel-Labbé 18a43d114e Add an example of range insertion for ToS2 2021-01-28 18:23:15 +01:00
Mael Rouxel-Labbé 7024441ff2 Fix ToS2::dimension()'s documentation 2021-01-28 18:22:42 +01:00
Mael Rouxel-Labbé 107eaba86d Partial implementation of arc-duals 2021-01-26 14:24:25 +01:00
Mael Rouxel-Labbé 28bc619f9b ToSTraits_2 should refine 3D spatial sorting concept (used by the sort on S2) 2021-01-26 14:23:01 +01:00
Mael Rouxel-Labbé 7aef5d40a1 Add convenience overloads for insert() with P3 input (instead of pts on sphere)
Also use functions that perform Hilbert sort on the sphere rather than 3D
2021-01-26 14:22:33 +01:00
Mael Rouxel-Labbé ae5dcbd0c4 Fix arc segment type in DToS2 doc 2021-01-26 14:19:56 +01:00
Mael Rouxel-Labbé 612885d370 Re-order functions for clarity 2020-11-30 18:24:34 +01:00
Mael Rouxel-Labbé 199e2e6395 Fix broken locate() in degenerate cases 2020-11-30 18:23:32 +01:00
Mael Rouxel-Labbé 6fd69ccf8b Various traits fixes 2020-11-30 18:22:10 +01:00
Mael Rouxel-Labbé 98509e503c Doc improvements (Feature Round #1 Reviews) 2020-10-19 16:17:34 +02:00
Andreas Fabri be8ebfae2e Rename examples 2020-09-22 14:27:53 +02:00
Andreas Fabri 12e4d9f446 Trivial fixes 2020-09-22 14:27:53 +02:00
Mael Rouxel-Labbé db1823a470 Merge remote-tracking branch 'cgal/master' into Triangulation_on_sphere_2-GF 2020-09-22 14:27:09 +02:00
Mael Rouxel-Labbé 33c2aa8f16 V3 of ToS2 reference manual:
- Get rid of _3 predicates/constructions, express things on the sphere
- Add straight/curved duals
- Spherical Kernels
- Use Face_data
- Many small fixes
2020-09-22 14:13:18 +02:00
Mael Rouxel-Labbé 298c15410a WIP on ToS2 traits specification 2020-09-22 14:13:18 +02:00
Mael Rouxel-Labbé d47ca6ffd5 Simplify code and update API 2020-09-22 14:13:18 +02:00
Mael Rouxel-Labbé 51c7d2a966 More documentation 2020-09-22 14:13:18 +02:00
Mael Rouxel-Labbé def3eb4406 Add some documentation 2020-09-22 14:13:17 +02:00
Mael Rouxel-Labbé d7a5bce40b Move some files 2020-09-22 14:13:17 +02:00
Mael Rouxel-Labbé b907658e5a Fix license header and includes 2020-09-22 14:13:17 +02:00
Mael Rouxel-Labbé a2c80c7d93 Various major improvements 2020-09-22 14:10:24 +02:00
Mael Rouxel-Labbé 729182df54 Clean Cmakelists 2020-09-22 14:10:24 +02:00
Mael Rouxel-Labbé f04042aa96 Add vertex/face base models 2020-09-22 14:10:24 +02:00
Mael Rouxel-Labbé 2d8cdeeddb Remove useless cast 2020-09-22 14:02:28 +02:00
Mael Rouxel-Labbé af511dc826 Remove messy and useless traits 2020-09-22 14:02:28 +02:00
Mael Rouxel-Labbé c0b6d7652d Minor code cleaning 2020-09-22 14:02:28 +02:00
Mael Rouxel-Labbé c018b4c033 Update random generator
See also be700acaba for Triangulation_2.h
2020-09-22 14:02:28 +02:00
Mael Rouxel-Labbé 060e2a7757 Rename traits member: 'sphere' > 'center' 2020-09-22 14:02:28 +02:00
Mael Rouxel-Labbé e12824d094 Remove irrelevant file and move bencharmarks to /benchmark/ 2020-09-22 14:02:28 +02:00
Mael Rouxel-Labbé c3554d6b38 Minor example changes 2020-09-22 14:02:28 +02:00
Mael Rouxel-Labbé 0147968d66 Bug fixes and clean/update/fix TOS2 tests 2020-09-22 14:02:28 +02:00
Mael Rouxel-Labbé 96f1644529 Numerous bug fixes and code improvements 2020-09-22 14:02:28 +02:00
Mael Rouxel-Labbé 406488c86a Add some package structure (package info, license, cmakelists) 2020-09-22 14:01:54 +02:00
Mael Rouxel-Labbé 24f78c106f Clean useless macro 2020-09-22 14:01:46 +02:00
Mael Rouxel-Labbé 738d1b07f9 Fix returning 'TOO_CLOSE' for a locate on a point (should be 'VERTEX') 2020-09-22 14:01:46 +02:00
Mael Rouxel-Labbé 10a07914be Fix warnings 2020-09-22 14:01:46 +02:00
Mael Rouxel-Labbé 8648478b9a Improve reader sanity 2020-09-22 13:45:46 +02:00
Sébastien Loriot e48bed20cc fix call to inherited function 2016-07-04 11:35:52 +02:00
Sébastien Loriot 1154a23b50 add cmake script for examples 2016-07-04 11:24:40 +02:00
Claudia Werner 93c5bceda9 cleaning up + comments 2013-02-15 10:50:51 +01:00
Claudia Werner e8775c9c96 moved test to new subfolder 2013-02-13 16:39:19 +01:00
Claudia Werner 431c694a96 added data for testing mesh_sphere 2013-02-13 16:36:18 +01:00
Claudia Werner eacd80b853 changed include 2013-02-13 16:19:41 +01:00
Claudia Werner 50a02a7910 moved tests to subfolder 2013-02-13 16:11:35 +01:00
Claudia Werner 136846efca added new test for vertex-remove 2013-02-13 15:41:22 +01:00
Claudia Werner 1719dc1120 added some comments. 2013-02-13 15:38:20 +01:00
Claudia Werner 9497a09432 added some comments to Triangulation_sphere_2. 2013-02-13 13:33:38 +01:00
Sébastien Loriot acaa740eb5 add missing this-> to use base class functions 2013-02-12 17:15:00 +01:00
Sébastien Loriot af5c5d542e add missing includes 2013-02-12 17:14:42 +01:00
Claudia Werner 181943c8a3 fixed bug in test_dim_down 2013-02-11 09:30:25 +01:00
Claudia Werner fd24a4d0b2 moved Mesh_on_sphere_2 demo to a temp folder. Will be replaced by a new one. 2013-02-08 14:27:09 +01:00
Claudia Werner 0bd623bf5d removed wasted std::cout 2013-02-01 16:51:43 +01:00
Claudia Werner f5b980c13e added CMakeList to Triangulation_demo . 2013-02-01 11:08:36 +01:00
Claudia Werner 0adc2cb42c cleaning-ups in test 2013-01-31 10:24:59 +01:00
Claudia Werner 860abc323f improved test_mesh (added more test-cases). 2013-01-25 15:31:23 +01:00
Claudia Werner 693b7a1e02 fixed bug in insert in DT (special cases). 2013-01-22 13:14:38 +01:00
Claudia Werner 3c0d9baeab deleted Delaunay_tri_face_base. 2013-01-22 13:11:14 +01:00
Claudia Werner 585abd858c modified test_projection to run with the new traits-class (which was modified before Christmas). 2013-01-22 11:20:21 +01:00
Claudia Werner 12eeec27ca added new test for constrained Tri and meshing. 2013-01-22 08:30:54 +01:00
Claudia Werner 28c6090780 added missing function to interface with mesh_2 (infinite_face)to CDT. 2013-01-22 08:27:11 +01:00
Claudia Werner 75b49d3a99 fixed bug in iterators in Triangulation_sphere. 2013-01-22 08:26:23 +01:00
Claudia Werner e230e790c6 fixed typo in Triangulation_sphere_2 2013-01-18 15:51:42 +01:00
Claudia Werner a30db9375f added first version of Constrained_Delaunay_tri. 2013-01-16 13:50:43 +01:00
Claudia Werner f565e71a34 added line_face_circulator 2013-01-16 13:49:24 +01:00
Claudia Werner 00a6865909 fixed error concerning set_radius in traits. 2013-01-15 08:38:56 +01:00
Claudia Werner 1d7e420d44 fixed typo 2013-01-14 10:57:55 +01:00
Claudia Werner 35de415bcf some cleaning ups in demo Triangulation_on_sphere 2012-12-21 10:52:15 +01:00
Claudia Werner 183d2979aa remove _radius from Triangulation_sphere_2 2012-12-19 14:28:44 +01:00
Claudia Werner 35d4f443ea fix bug in test_random.
changed initialisation of vector points2.
2012-12-19 12:48:30 +01:00
Claudia Werner 8d7d3d2542 adapt test to new projection_traits. 2012-12-19 11:57:57 +01:00
Claudia Werner 1215cbdc14 adapt Triangulation_on_sphere demo to new Projection_traits. 2012-12-19 09:46:54 +01:00
Claudia Werner 60fa3e2195 adapted names in demo/Mesh to new names in Triangulation-classes 2012-12-18 16:46:48 +01:00
Claudia Werner e8a0c6350b did some cleaning ups. 2012-12-18 16:46:48 +01:00
Sébastien Loriot ad3a6e6815 add example with the default traits and the projection traits 2012-12-18 16:06:41 +01:00
Sébastien Loriot c1717f6a4a add a way to change the center of the sphere with the projection traits 2012-12-18 16:05:15 +01:00
Sébastien Loriot 66fd4df238 fix typo in include filename 2012-12-18 16:02:57 +01:00
Claudia Werner fa470bb512 added tests for comparing runningtimes . 2012-12-12 13:13:01 +01:00
Claudia Werner 7ee783b1ec added some test cases . 2012-12-11 10:21:23 +01:00
Claudia Werner c95ee3cc28 Fixed bug in projection of points (too many computations). 2012-12-10 13:49:09 +01:00
Claudia Werner 2816a4659c implemented Projection_traits. First running version. 2012-12-06 11:47:24 +01:00
Claudia Werner d3aeb2defb changed insert in Delaunay_tri. Runningtime much better now. 2012-12-03 14:32:46 +01:00
Claudia Werner 0913a811a6 some cleaning ups in Delaunay_triangulation_sphere 2012-12-03 09:35:09 +01:00
Claudia Werner 01c1da3019 Added functions for voronoi. Not implemented for Proection_sphere_traits_3 yet. 2012-11-30 13:27:11 +01:00
Claudia Werner bd9e2f6712 deleted test_bugs_minimal_... and test_tri..._on_sphere
(not needed anymore)
2012-11-29 16:02:04 +01:00
Claudia Werner a70de22126 changed traits class of demo to Projection_sphere_traits_3 2012-11-29 16:00:58 +01:00
Claudia Werner 4bf8999d8d worked on tests and fixed another bug in location/insertion (locate typ vertex) 2012-11-29 15:59:04 +01:00
Claudia Werner 3090947b55 optimized location of illegal points (too close to existing points) 2012-11-29 10:59:00 +01:00
Claudia Werner 63e7880661 some cleaning-ups in Triangulation_sphere_2.h 2012-11-29 10:08:30 +01:00
Claudia Werner b3d9d4b4d5 renamed Triangulation_on_sphere and Tri.._face_base_on_sphere 2012-11-29 09:05:17 +01:00
Claudia Werner 19296a951c fixed bug in perturbation from last commit. 2012-11-28 15:10:05 +01:00
Claudia Werner ede0a34879 added two new test classes. Found another problem with uniquely defined definition of the triangulation. 2012-11-28 11:02:33 +01:00
Claudia Werner 3ae19a3bca forgot to change code before last commit (after renaming classes) fixed know -
last commit will not be compiled without error.
2012-11-27 15:56:53 +01:00
Claudia Werner cb71f8fc0b renamed and removed several files 2012-11-27 14:51:34 +01:00
Claudia Werner 9ff080f582 changed names in demo (still used old names from TOS and RTOS) 2012-11-27 14:12:56 +01:00
Claudia Werner 4f2792fd30 changed constructors in TOS 2012-11-27 12:49:45 +01:00
Claudia Werner 10faa1e1be Added first version of Projection_sphere_traits_3 (not ready yet). 2012-11-27 10:55:28 +01:00
Claudia Werner a6bfcb2641 deleted Delaunay_triangulation_sphere_traits_2-old 2012-11-26 16:10:22 +01:00
Claudia Werner a353eacb4a merged Triangulation_sphere_traits with Regular_triangulation_sphere_traits
and removed Triangulation sphere_traits
2012-11-26 15:44:19 +01:00
Claudia Werner 354bbb339b Renamed Delaunay_triangulation_sphere_traits to Delaunay...-old 2012-11-26 14:26:20 +01:00
Claudia Werner 596d47de9d fixed problems with rounding errors. 2012-11-26 14:17:42 +01:00
Claudia Werner dfd2ec3846 added test is_on_sphere. Still problems with rounding errors 2012-11-26 11:00:53 +01:00
Claudia Werner 33c460e584 simplified insert_outside_affine_hull, therefore changed also update_ghost_faces 2012-11-22 10:24:46 +01:00
Claudia Werner ac2bea87f4 added iterators on solid_faces / edges and on contour_edges 2012-11-21 13:05:56 +01:00
Claudia Werner ed3c417279 Added test to TOS to figure out, if a point is legal or not.
is_on_sphere just a dummy implementation (has to be changed later).
2012-11-21 08:59:41 +01:00
Claudia Werner fe6962cbb1 changed tests for degenerated cases 2012-11-16 11:10:32 +01:00
Claudia Werner 4f04c0829b fixed bug in march_locate_1D 2012-11-16 11:06:49 +01:00
Claudia Werner 984506faaa changed names: negativ(face) to ghost 2012-11-15 09:27:38 +01:00
Claudia Werner 1cbda02154 added test for perturbation. Found problem in test_dim_up (not solved yet). 2012-11-09 13:24:28 +00:00
Claudia Werner 9a0272c54c added perturbation to the power_test in RTOS. 2012-11-08 15:20:49 +00:00
Claudia Werner f763451d94 changed march_locade_1D for fixing bug. It's now possible to insert more than 3 cocircular points. 2012-11-07 12:51:31 +00:00
Claudia Werner 6eec0d1567 last commit before migration to Git. 2012-10-23 13:48:09 +00:00
Claudia Werner 8ed86471dc changed is_valid in RTOS(added bool verbose when verbose is true, messages are printed 2012-10-22 14:12:07 +00:00
Claudia Werner 167984a073 moved iterators and circulators of TOS to the inside the class 2012-10-22 08:55:06 +00:00
Claudia Werner 39dee1f78c cleaned TOS from remove and insert. 2012-10-22 07:17:13 +00:00
Claudia Werner 4f853d4dec deleted show_all() and show_face() (both for debugging) from RTOS. Using the methods from TOS instead. 2012-10-19 12:39:00 +00:00
Claudia Werner 701c9ae7bf deleted methods for initial insertion of four or three points (not needed any longer). 2012-10-19 09:20:53 +00:00
Claudia Werner f5e2d0e59d changed insert and remove for inserting of coplanar points. 2012-10-19 09:12:58 +00:00
Claudia Werner 5ca9ea9448 starting with methods to remove vertices from triangulation. Maybe still bugs. 2012-10-17 13:38:50 +00:00
Claudia Werner b8db64447c changed locate in TOS and therefore moved the power_tests from RTOS to TOS. 2012-10-16 13:55:58 +00:00
Claudia Werner b3d66439cd bugs in insertion seem to be fixed. 2012-10-15 14:10:39 +00:00
Claudia Werner 042f843a66 changed orientationtest bevor insertion of the 4th point in RTOS (not clean yet). 2012-10-12 14:08:45 +00:00
Claudia Werner b5141742cb replaced create_star in RTOS by star_hole from the Tds therefor find_conflicts has been changed. still bugs in the code. 2012-10-11 06:42:42 +00:00
Claudia Werner 478d9fa57b changed Vertices_iterator because of cleaning up hidden vertices. 2012-10-08 13:25:24 +00:00
Claudia Werner 51d1b96328 fixed first bugs and cleaned hidden vertices. 2012-10-08 11:12:15 +00:00
Claudia Werner 91dc709fd7 moved from experimental-package again after fixing the problems in the first move. 2012-09-27 11:59:05 +00:00