Commit Graph

300 Commits

Author SHA1 Message Date
Mael Rouxel-Labbé 2fb160edbd Improved Implicit_to_labeled_subdomains_function_wrapper
Basically brought up to speed with Mesh_3's wrappers
2018-06-06 16:58:18 +02:00
Mael Rouxel-Labbé 056e4f699c Renamed Periodic_3_wrapper to Periodic_3_function_wrapper 2018-06-06 16:57:55 +02:00
Mael Rouxel-Labbé 45f16cc530 Changed CGAL_assertion to assert() in test_file 2018-06-06 12:15:22 +02:00
Mael Rouxel-Labbé dac721cf44 Minor iostream changes (cout > cerr) 2018-06-06 12:10:13 +02:00
Mael Rouxel-Labbé 594f7c1a80 Minor macro fixes 2018-06-06 12:08:47 +02:00
Mael Rouxel-Labbé c55088a140 std::abs > CGAL::abs 2018-06-06 12:03:46 +02:00
Mael Rouxel-Labbé cdda597e4e Renamed the medit output function 2018-06-06 11:58:36 +02:00
Mael Rouxel-Labbé 573f4cf1eb Renamed '..._with_protection' to '..._with_features' 2018-06-05 17:41:18 +02:00
Mael Rouxel-Labbé de369c84ee Fixed P3M3 tests to use the new domain API 2018-06-05 17:28:59 +02:00
Mael Rouxel-Labbé d97d388ef4 Reworked Periodic 3 mesh domain classes
No need to duplicate Labeled_mesh_domain_3 anymore: a wrapper is used.
2018-06-05 14:42:03 +02:00
Jane Tournois d591d100c2 doc : improve discussion on optimizers
add something to insist on the fact that ODT, Lloyd, and perturber
can't deal with a mesh already treated with sliver exudation
2018-05-17 18:24:43 +02:00
Mael Rouxel-Labbé 8576520423 Rephrased a warning 2018-05-03 12:36:28 +02:00
Mael Rouxel-Labbé 8c05fbe507 Clarify the requirements on the implicit function 2018-04-30 17:41:48 +02:00
Mael Rouxel-Labbé 5dfdb88f22 Doc improvements 2018-04-26 14:39:12 +02:00
Mael Rouxel-Labbé a0427ec756 Fixed abusing Triangulation_cell_base_3 for Delaunay triangulations
TriangulationCellBase_3 does not request a circumcenter;
DelaunayTriangulationCellBase_3 does.

Delaunay_triangulation_3 only compiled because
Triangulation_cell_base_3 (and Triangulation_ds_cell_base_3 !)
provided circumcenter() operators and DT3 inherited T3's TDS.

- The circumcenter() functions are removed where they shouldn't exist
- DT3 uses DT_cell_base_3 as cell base instead of T_cell_base_3
- Concepts/Classes that supposedly only required TriangulationCellBase_3
  and then built Delaunay triangulations with that (Alpha Shapes, etc.)
  are upgraded to request DelaunayTriangulationCellBase_3 (anyway, it
  wouldn't compile if you actually provided a model of
  TriangulationCellBase_3)
- Fixed various wrong templates in classes/concepts such as
  MeshVertexBase_3 not refining RegularTriangulationVertexBase_3
  and (only in the doc) defaulting to Triangulation_vertex_base_3
- Removed the deprecated class (for 4+ years) T_cell_base_with_circumcenter
2018-04-26 13:21:53 +02:00
Mael Rouxel-Labbé 03471629d0 Fixed missing include 2018-03-19 11:36:43 +01:00
Mael Rouxel-Labbé afc438a8df Add package dependencies 2018-03-19 11:36:32 +01:00
Mael Rouxel-Labbé 44162aad0d Minor doc improvements 2018-03-15 14:29:38 +01:00
Mael Rouxel-Labbé 75127992e3 Minor doc fixes 2018-02-23 18:49:17 +01:00
Mael Rouxel-Labbé d9168d011c Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov 2018-02-23 18:24:39 +01:00
Mael Rouxel-Labbé db8f865b9a Documentation changes 2018-02-23 17:59:19 +01:00
Mael Rouxel-Labbé c28e05be0c Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov 2018-02-23 12:50:06 +01:00
Mael Rouxel-Labbé 1c2d1f3ec5 Misc doc change 2018-02-23 09:59:17 +01:00
Mael Rouxel-Labbé 618e9184c7 Lightened triply test 2017-12-21 17:28:34 +01:00
Mael Rouxel-Labbé ded9b83205 P3M3 triply test improvement 2017-12-20 16:21:10 +01:00
Mael Rouxel-Labbé 9667bb7618 Added Is_in_domain and Construct_initial_points to periodic's Labeled_mesh_domain 2017-12-20 11:39:22 +01:00
Mael Rouxel-Labbé fe9c8e0bc1 Removed debug macro from test files 2017-12-20 11:11:34 +01:00
Mael Rouxel-Labbé ea8ba5c154 Misc minor doc changes 2017-12-19 15:45:49 +01:00
Mael Rouxel-Labbé daf772fb33 Added a function to get the canonical domain to P3MeshDomain_3 2017-12-19 15:45:22 +01:00
Mael Rouxel-Labbé d2ece33849 Documented Mesh_3's and P3M3's medit IO function 2017-12-19 15:44:26 +01:00
Mael Rouxel-Labbé 91feb767a6 Moved CGAL/IO/Medit_IO to CGAL/P3M3/IO/File_medit
To have the same name as Mesh_3's, but can't put it in CGAL/IO/ directly...
2017-12-19 15:14:31 +01:00
Mael Rouxel-Labbé a687e2bcac Fixed typo 2017-12-18 16:55:55 +01:00
Mael Rouxel-Labbé fb0eb15f19 Removed useless static variables 2017-12-18 16:50:21 +01:00
Mael Rouxel-Labbé 3e48f65c08 Doc improvements 2017-12-18 16:50:11 +01:00
Mael Rouxel-Labbé 4ae25ae0d2 Enabled minimum verbose in P3T3/test 2017-12-18 14:22:50 +01:00
Mael Rouxel-Labbé f48a1add93 Minor P3M3 test change (test non unit cubes) 2017-12-18 14:22:33 +01:00
Mael Rouxel-Labbé 233e66fe44 Cleaned off useless 'using' 2017-12-16 13:07:57 +01:00
Mael Rouxel-Labbé 781e0c8822 Added a comment to explain the various traits class in P3MT3 2017-12-15 20:24:03 +01:00
Mael Rouxel-Labbé d574b759ed Added a precondition to check that the input domain is a cube 2017-12-15 20:23:46 +01:00
Mael Rouxel-Labbé 11901273cf Cleaned some comments 2017-12-15 20:23:20 +01:00
Mael Rouxel-Labbé c6f58bce4e Reworked the way periodicity is defined
The input domain does not need to be periodic. It is the domain class that
has to handle the periodicity. This is cleaner mathematically and will be
more natural for other types of domains.

Along the way, the labeled periodic domain is brought up to date with Mesh_3's
(bug fixes, null subdomain index, etc.)
2017-12-15 17:25:42 +01:00
Mael Rouxel-Labbé 225ec1f573 Symmetrized usage of 'CGAL_PERIODIC_CANONICALIZE_DUAL_INTERSECTIONS' 2017-12-15 11:28:11 +01:00
Mael Rouxel-Labbé 72aed9ada1 Minor P3M3 examples/tests improvements 2017-12-13 17:31:00 +01:00
Mael Rouxel-Labbé adfdc70374 Uniformized template parameters names in all P3T3 traits classes
Hopefully works around a bug in MSCV compilers too
2017-12-12 20:53:10 +01:00
Mael Rouxel-Labbé fae96edb6c Removed links in P3M3 doc 2017-12-12 14:07:09 +01:00
Mael Rouxel-Labbé 4c72848bff Added some robustifying code in P3Mesh_triangulation_3
Snap when a point is too close to the border, even if it's not an issue for
construct_periodic_point()
2017-12-12 14:02:09 +01:00
Mael Rouxel-Labbé f4d5606bd4 Added temporary output code 2017-12-12 13:15:21 +01:00
Mael Rouxel-Labbé be895e945b Cleaned test file 2017-12-12 13:15:08 +01:00
Mael Rouxel-Labbé 1b6c532713 Revert "Cleaned output"
This reverts commit 92bc1744db6d04878dd977a6321b325dbd1ce954.

Temporarily leaving it for the test suite
2017-12-12 13:14:29 +01:00
Mael Rouxel-Labbé 50a37cf541 Cleaned output 2017-12-12 13:11:09 +01:00
Mael Rouxel-Labbé 0e71201778 Renamed template parameters to avoid conflicts with base class typedefs 2017-12-12 11:25:27 +01:00
Mael Rouxel-Labbé 9a0075ef01 Silenced some output 2017-12-12 00:25:02 +01:00
Mael Rouxel-Labbé 5ce19b18c5 Fixed conversion warning 2017-12-12 00:22:32 +01:00
Mael Rouxel-Labbé a5bfb8659f M3/P3M3 doc improvements 2017-12-08 11:02:19 +01:00
Mael Rouxel-Labbé add23592de Fixed license/tag issues 2017-12-08 10:02:26 +01:00
Mael Rouxel-Labbé 9b8a43d0d5 M3/P3M3 doc improvements 2017-12-06 12:50:55 +01:00
Mael Rouxel-Labbé 59a26dc496 Added a comment 2017-12-06 11:10:43 +01:00
Mael Rouxel-Labbé 671fe63cfa Cleaned output 2017-12-06 11:00:18 +01:00
Mael Rouxel-Labbé 3cfc27b4cc Updated P3M3 CMakeLists 2017-12-06 10:51:25 +01:00
Mael Rouxel-Labbé 00f6a874e2 Minor doc fixes 2017-12-05 18:32:30 +01:00
Mael Rouxel-Labbé 8caa58243b Added package_info information 2017-12-05 17:24:01 +01:00
Mael Rouxel-Labbé 9a43746673 Fixed links 2017-12-05 16:53:14 +01:00
Mael Rouxel-Labbé 19ac28b4d0 Added missing 'public' 2017-12-05 16:48:55 +01:00
Mael Rouxel-Labbé cd8a1d60bc Misc minor changes 2017-12-05 16:37:13 +01:00
Mael Rouxel-Labbé 80578d7e04 Minor improvements to periodic medit output function 2017-12-05 16:29:08 +01:00
Mael Rouxel-Labbé 6a08af4b2f Minor P3M3 improvements 2017-12-05 16:28:11 +01:00
Mael Rouxel-Labbé 61ff842be2 Improved doc (M3/P3M3) 2017-12-05 16:27:15 +01:00
Mael Rouxel-Labbé 0f54f28c00 Cleaned P3M3 examples 2017-12-05 15:41:39 +01:00
Mael Rouxel-Labbé 548fdde7ba Fixed not duplicating the number of facets when 'print_twice' is used 2017-12-04 17:44:53 +01:00
Mael Rouxel-Labbé 14d8540c82 Enhanced medit output for periodic meshes
(looks exactly like Mesh_3's now)
2017-12-04 16:09:18 +01:00
Mael Rouxel-Labbé 45aa2d3ab3 Fixed taking a reference to the position of a vertex about to be destroyed 2017-12-01 19:56:55 +01:00
Mael Rouxel-Labbé dd24c82343 Added an example that showcase use of optimizers 2017-12-01 19:09:08 +01:00
Mael Rouxel-Labbé 1e2d920658 Tracking accidentally untracked optimizer file 2017-12-01 19:08:33 +01:00
Mael Rouxel-Labbé 5e810e3c09 Replaced std::map with unordered map + timestamp hash function 2017-12-01 19:07:55 +01:00
Mael Rouxel-Labbé c6a91e3281 Misc minor changes 2017-12-01 18:33:05 +01:00
Mael Rouxel-Labbé a843cf0530 Moved function bodies out of class 2017-12-01 18:30:24 +01:00
Mael Rouxel-Labbé daec72c617 Fixed periodic medit output function for occurence values less than 8 2017-12-01 09:02:01 +01:00
Mael Rouxel-Labbé 8a9750709b Moved the timestamp hash function to STL_extension (and rewrote it) 2017-12-01 08:44:12 +01:00
Mael Rouxel-Labbé 412bda1c44 Fixed licence headers, include guards, authors, etc. 2017-11-30 16:00:23 +01:00
Mael Rouxel-Labbé 7031e940aa Fixed projection of dummies using the wrong index 2017-11-30 15:37:08 +01:00
Mael Rouxel-Labbé 69d13d0a7b Changed name of function 2017-11-30 15:36:46 +01:00
Mael Rouxel-Labbé 34f4b63d4c P3M3 examples and tests improvements 2017-11-30 15:36:27 +01:00
Mael Rouxel-Labbé 47de0b5f52 Do not (directly) include Mesh_3's config file in P3M3 2017-11-30 15:17:48 +01:00
Mael Rouxel-Labbé 11f35f57ed Reworked how the periodic protection class is selected
Rather than overwriting Mesh_3's, a virtual function is used in the initializer.
This allows to use Mesh_3 along Periodic_3_mesh_3.
2017-11-30 15:15:07 +01:00
Mael Rouxel-Labbé c83469fa0e The remove() function of P3M3 now does not do anything if the cover would change 2017-11-30 14:29:11 +01:00
Mael Rouxel-Labbé 8139500daf Added a check on robust_canonicalize_point() 2017-11-30 14:28:51 +01:00
Mael Rouxel-Labbé 1078e00e7f Uniformized between Mesh_3::internal and internal::Mesh_3 2017-11-30 14:26:12 +01:00
Mael Rouxel-Labbé 7ac3fa23a5 Improved P3M3's examples and tests 2017-11-29 18:25:06 +01:00
Mael Rouxel-Labbé 9b8c5cd824 Another batch of v->point() --> tr.point(v) 2017-11-29 17:48:55 +01:00
Mael Rouxel-Labbé 13a49227c1 Improved documentation 2017-11-29 16:32:58 +01:00
Mael Rouxel-Labbé 45e93cacfd Misc minor changes 2017-11-29 16:32:05 +01:00
Mael Rouxel-Labbé 78133c5100 Replaced usages of '.weight()' in Mesh_3 and P3M3
Either through the comparison predicate or the weight constructor.
2017-11-29 16:30:34 +01:00
Mael Rouxel-Labbé cae1889fe2 Enabled the visited vertex boolean in P3M3 (safe 1-cover) 2017-11-29 12:32:44 +01:00
Mael Rouxel-Labbé 5b93c880de Added missing licence 2017-11-29 12:32:31 +01:00
Mael Rouxel-Labbé d440074a70 Cleaned P3M3 examples 2017-11-28 17:32:52 +01:00
Mael Rouxel-Labbé 67fde8ea05 Misc minor changes 2017-11-28 15:25:52 +01:00
Mael Rouxel-Labbé 557176e23e Reworked the way periodic protection is done
A map allows to keep multiple (different) positions for each vertex. Determiningwhich position is chosen for a given vertex is done using curve_index,
orientation, and other available information.
2017-11-28 14:33:23 +01:00
Mael Rouxel-Labbé e8a905e56f Aesthetical changes 2017-11-25 21:01:05 +01:00
Mael Rouxel-Labbé c78d8651ac Introduced mechanism to handle problematic dummy vertices during protection 2017-11-24 13:31:31 +01:00
Mael Rouxel-Labbé ce0c2afd40 Readability changes
Increasing reader sanity, one commit at a time
2017-11-24 11:19:21 +01:00