Commit Graph

481 Commits

Author SHA1 Message Date
Laurent Rineau a735e849c0 Merge pull request #5152 from sloriot/CGAL-remove_bind
Replace usages of boost::bind
2021-02-05 16:14:04 +01:00
Sébastien Loriot f69be333f0 Merge remote-tracking branch 'cgal/5.2.x-branch' into CGAL-remove_bind 2021-01-29 18:44:50 +01:00
Laurent Rineau f176529041 Merge pull request #5357 from sloriot/CGAL-boost_function_output-master
Include non-deprecated header (master)
2021-01-21 16:22:39 +01:00
Laurent Rineau 52bb68c012 Merge pull request #5356 from sloriot/CGAL-boost_function_output-5.2
Include non-deprecated header (5.2)
2021-01-21 16:18:55 +01:00
Sébastien Loriot bc161f2ae9 Merge 'CGAL-Eigen3_support-5.2' 2021-01-15 10:59:20 +01:00
Sébastien Loriot f4935dc199 Merge branch 'CGAL-Eigen3_support-5.1' 2021-01-15 10:54:02 +01:00
Sébastien Loriot eecb00534e fix macro name to be consistent with find_package 2021-01-15 10:43:34 +01:00
Sébastien Loriot ad911271a9 Merge commit '6594e7549bd70923990d86c31e2aa267a79bb629' into HEAD 2021-01-15 10:12:17 +01:00
Sébastien Loriot bdd4efe3b3 Merge commit 'efc0c525e8b' into HEAD 2021-01-15 10:06:56 +01:00
Sébastien Loriot efc0c525e8 include non-deprecated header 2021-01-15 10:02:00 +01:00
Maxime Gimeno 3d1c41fd14 Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2021-01-07 15:05:28 +01:00
Laurent Rineau 6958949bb0 Merge pull request #5251 from MaelRL/P3M3-Change_def_criterion-GF
Modify facet size criterion to avoid unfortunate dent in an example
2021-01-06 16:11:42 +01:00
Sébastien Loriot 2eb9908699 replace bind in Mesh_3 packages 2021-01-06 12:59:12 +01:00
Laurent Rineau 34cde36fd9 Merge pull request #5209 from janetournois/Mesh_3-debug_global_optimizers-jtournois
Mesh_3 global optimizers - improve projection to surface
2020-12-09 16:14:35 +01:00
Laurent Rineau 3fc0ba4435 Merge branch '5.1.x-branch' into 5.2.x-branch
# Conflicts:
#	Tetrahedral_remeshing/examples/Tetrahedral_remeshing/CMakeLists.txt
2020-12-09 15:35:47 +01:00
Mael Rouxel-Labbé a28b50efc8 Modify P3M3 example's facet size criterion to avoid unfortunate dent in output
With the previous facet size criterion, the restricted Delauany has an
unfortunate choice of restricted facets, making it look like an unwanted hole.

See also this comment:
https://github.com/CGAL/cgal/issues/5046#issuecomment-739922611
2020-12-07 14:42:28 +01:00
Mael Rouxel-Labbé 8080601970 Improve P3M3's get_closest_triangle(): any point can be used to canonicalize 2020-12-05 18:00:06 +01:00
Mael Rouxel-Labbé a8f368d437 Use compute_squared_distance_3(Point, Triangle) 2020-12-03 12:33:37 +01:00
Mael Rouxel-Labbé 8bb4b58848 Misc minor improvements for speed (avoid some copies and constructions) 2020-12-03 12:26:26 +01:00
Jane Tournois cea9cd509b fix get_closest_triangle
with canonicalize_point() used for the 3 pts, the resulting triangle
may not be a facet but only a triplet of points
2020-12-01 15:10:07 +01:00
Jane Tournois 0ed6aca5a4 replace get_closest_point() by get_closest_triangle()
to use this function with Periodic_3_mesh_3
2020-11-27 13:04:06 +01:00
Maxime Gimeno 3b70343590 Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-11-16 16:19:43 +01:00
Maxime Gimeno 9c15f2c9dc Use FeatureSummary in the demo, and remove CGAL_FOUND 2020-08-04 12:46:17 +02:00
Mael Rouxel-Labbé 26355e2e32 Uniformize capital / third person usage of \brief 2020-06-25 15:13:47 +02:00
Simon Giraudot 89285f1feb Merge remote-tracking branch 'mine/CMake-Third_party_imported_targets-GF' into CMake-Third_party_imported_targets-GF 2020-05-28 08:53:17 +02:00
Maxime Gimeno e9d41d7b7d Fixes for min/max 2020-04-21 11:38:37 +02:00
Simon Giraudot 421096fd7f Use imported targets everywhere 2020-04-15 14:06:13 +02:00
Sébastien Loriot 8bb22d5b2c extra run of the script to remove tabs and trailing whitespaces
right after the merge of the 5.0 release branch

+ manual fix of the files (indentation was changed in the meantime):
   * Spatial_sorting/include/CGAL/Multiscale_sort.h
   * Spatial_sorting/test/Spatial_sorting/test_multiscale.cpp
2020-03-26 14:26:59 +01:00
Sébastien Loriot 8b153fb495 Merge branch 'cgal/releases/CGAL-5.0-branch'
whitespace+tab removal, merged with option -Xignore-space-change
2020-03-26 14:22:32 +01:00
Sébastien Loriot 0779373835 extra run of the script to remove tabs and trailing whitespaces
right after the  merge of 4.14 release branch

+ manual fix on one line in:
    * Arrangement_on_surface_2/include/CGAL/IO/Arr_text_formatter.h
    * .travis/generate_travis.sh
2020-03-26 14:16:06 +01:00
Simon Giraudot 6c8fd43ebb Use CGAL_target_use_* mechanism for Eigen, LASLIB, OpenCV, TensorFlow, GLPK, SCIP, Boost IOStreams and Serialization 2020-02-10 11:57:56 +01:00
Mael Rouxel-Labbé 53d4c9b580 Simplify 'Hash_handles_with_or_without_timestamps' (use 'Get_time_stamper') 2019-10-28 11:29:08 +01:00
Sébastien Loriot 254d60f642 First pass on removing license notice in header for GPL files 2019-10-19 15:23:19 +02:00
Sébastien Loriot 7356421d80 introduce Commercial license SPDX tag 2019-10-19 12:15:19 +02:00
Sébastien Loriot 9bd9c68b83 update LGPL[23]+ and GPL[23]+ SPDX tags
ack -l --no-svg "SPDX-License-Identifier: GPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-3.0+/SPDX-License-Identifier: GPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-3.0+/SPDX-License-Identifier: LGPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: GPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-2.0+/SPDX-License-Identifier: GPL-2.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-2.0+/SPDX-License-Identifier: LGPL-2.0-or-later/"
2019-10-18 21:57:54 +02:00
Sébastien Loriot aa339ce63d Merge 'cgal/releases/CGAL-4.14-branch' 2019-08-29 07:37:03 +02:00
Andreas Fabri 2b8a6808ba Update Periodic_3_mesh_3/dependencies 2019-08-21 05:34:42 -07:00
Sébastien Loriot fbafb9d06f fix remaining mismatches and fix bugs 2019-07-10 11:40:45 +02:00
Sébastien Loriot 983645a51a match @{ and @} 2019-07-05 21:49:46 +02:00
Laurent Rineau 4fbf00fb8a CMake>=3.13: opt for for new policies up to 3.15 2019-06-19 14:34:59 +02:00
Andreas Fabri e2d19b0c8d Replace NULL and Nullptr_t with nullptr and nullptr_t 2019-06-04 23:45:44 +02:00
Mael Rouxel-Labbé 2848158354 Fix typos 2019-05-20 08:54:04 +02:00
Laurent Rineau fee84ae228 Merge pull request #3898 from lrineau/Mesh_3-stop_during_protection-lrineau
Mesh_3 `Protect_edges_sizing_field`: handle the `stop` Boolean

# Conflicts:
#	Mesh_3/include/CGAL/Mesh_3/Protect_edges_sizing_field.h
2019-05-14 16:44:02 +02:00
Laurent Rineau a1e3e05558 Add maximal_number_of_vertices and stop_ptr to the protection code 2019-05-03 11:46:13 +02:00
Sébastien Loriot 124012d9f9 replace cpp11::array by std::array 2019-03-29 13:28:33 +01:00
Sébastien Loriot f62624c4f9 replace cpp11::tuple by std::tuple 2019-03-29 13:28:33 +01:00
Sébastien Loriot 700342bfa7 remove cpp11 workaround in mesh_3 related packages 2019-03-29 10:41:50 +01:00
Sébastien Loriot 52dd5f6244 manual replacement for level 1 in classified ref man 2019-02-14 10:40:04 +01:00
Sébastien Loriot 59bc453b42 first batch of replacement for level 1 in classified ref man
command used:
grep -l  "##" */doc/*/PackageDescription.txt | xargs  sed -i  -E 's/\#\#\s*([[:print:]]+[[:alnum:]])\s*\#\#\s*$/\\cgalCRPSection{\1}/'
2019-02-14 10:32:39 +01:00
Sébastien Loriot 42b9a0be04 fix level 2019-02-14 10:26:05 +01:00
Laurent Rineau fdd8357915
Merge pull request #3580 from afabri/Stream_support-Color-GF
Fix warnings (Add/remove copy constructors, and other warnings)

Co-authored-by: Laurent Rineau <laurent.rineau@cgal.org>
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
Co-authored-by: Maxime GIMENO <maxime.gimeno@gmail.com>
2019-02-13 15:25:07 +00:00
Andreas Fabri 3b1b080330 Do for example what we did for test 2019-01-31 13:39:44 +01:00
Andreas Fabri 16f61704da Set policy 2019-01-31 10:55:25 +01:00
Andreas Fabri 0322901c39 Link with ImageIO 2019-01-30 10:09:45 +01:00
Laurent Rineau afc3de2894
Merge branch 'master' into Stream_support-Color-GF 2019-01-23 09:37:08 +01:00
Andreas Fabri ade4903000 Fix Voronoi 2019-01-22 19:07:32 +01:00
Laurent Rineau 8121e872ab Merge pull request #3513 from sloriot/CGAL-fix_maybe_uninit_vars_wrngs_2
Fix some wmaybe-uninitialized warnings
2018-12-19 16:08:55 +01:00
Sébastien Loriot 8e75d21c38 fix maybe-uninitialized warning 2018-12-10 08:00:57 +01:00
Andreas Fabri c5fb10fe29 Suppress boost PP related warnings 2018-12-06 12:39:04 +01:00
Guillaume Damiand 7d406fbb9c
Merge branch 'master' into CGAL-cmake_cleanup-gdamiand 2018-11-05 07:32:58 +01:00
Guillaume Damiand 92ba7fa6c9 Update minimum cmake required version in all CMakeLists.txt 2018-10-18 14:49:23 +02:00
Guillaume Damiand 0bd9088b5a Remove all include( ) and include( CGAL_CreateSingleSourceCGALProgram ) in CMakeLists.txt; they are no more required. 2018-10-17 14:17:08 +02:00
Guillaume Damiand 7f09308d33 Remove all include_directories(BEFORE ../../include) in CMakeLists.txt 2018-10-17 13:07:22 +02:00
Sébastien Loriot 3dd0aa112d rename macro not following the convention 2018-10-08 10:28:55 +02:00
Sébastien Loriot ea240cfac5 use \PkgXXX instead of \PkgXXXSummary 2018-10-08 10:28:44 +02:00
Sébastien Loriot a2e8a1c68f add the suffix Ref to doxygen link to reference 2018-10-08 10:26:56 +02:00
Sébastien Loriot d514411868 re-add files removed during git filter-branch 2018-07-19 21:47:31 +02:00
Mael Rouxel-Labbé 71cd6930bc Simply call insert in 'insert_in_hole' of the periodic mesh triangulation 2018-07-18 17:33:37 +02:00
Mael Rouxel-Labbé f278bb8612 Force usage of Eigen (see https://github.com/CGAL/cgal/pull/3128) 2018-06-21 10:45:26 +02:00
Mael Rouxel-Labbé a878f9ca35 Use proper (cpp98) namespace for CGAL functional functions 2018-06-21 10:20:08 +02:00
Mael Rouxel-Labbé d6857514be Dropped 'const&' in function parameter in wrappers/model domains
1. This doesn't really make sense if the template is a function type.
2. There is already a copy of the function anyway
2018-06-20 12:35:19 +02:00
Mael Rouxel-Labbé 48cdc9ac5f Removed useless header include 2018-06-20 12:07:40 +02:00
Mael Rouxel-Labbé 4bb3391601 Minor doc changes 2018-06-08 17:06:23 +02:00
Mael Rouxel-Labbé 6775654e03 Minor doc change 2018-06-08 11:45:34 +02:00
Mael Rouxel-Labbé 1bcfb4f8a7 Update P3M3 dependencies 2018-06-07 15:09:54 +02:00
Mael Rouxel-Labbé b9651ad851 Minor doc change 2018-06-07 12:58:21 +02:00
Mael Rouxel-Labbé 373f50834a Resized the banner 2018-06-07 11:36:54 +02:00
Mael Rouxel-Labbé 44e39f5300 Fix missing const& in the docs of Mesh_3 and P3M3 2018-06-06 17:47:20 +02:00
Mael Rouxel-Labbé 0bffa6adb0 Updated documentation 2018-06-06 17:01:15 +02:00
Mael Rouxel-Labbé b141abcfcb Fixed Implicit_to_labeled_subdomains_function_wrapper's doc 2018-06-06 16:59:36 +02:00
Mael Rouxel-Labbé cd532cf334 Fixed typos 2018-06-06 16:58:59 +02:00
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
Mael Rouxel-Labbé 461a8a0ff7 Added is_vertex to the periodic mesh triangulation 2017-11-22 14:53:45 +01:00
Mael Rouxel-Labbé 6b674f6efd Renamed Periodic_3_regular_triangulation_3_mesher_3
for consistency with Mesh_3's version
2017-11-22 14:24:34 +01:00
Mael Rouxel-Labbé b701044a02 Cleaned example 2017-11-22 12:15:43 +01:00
Mael Rouxel-Labbé 357f9d6257 Reworked initialization of a periodic triangulation-based c3t3 2017-11-22 10:06:39 +01:00
Mael Rouxel-Labbé dcfbd3ea42 Get rid of Mesh_domain_holder_with_corners 2017-11-22 10:03:47 +01:00
Mael Rouxel-Labbé 170fa5f58c Minor doc change 2017-11-22 09:41:03 +01:00
Mael Rouxel-Labbé 87966f6ca8 Added a description to (P3)M3's MeshClasses doc group 2017-11-21 17:18:52 +01:00
Mael Rouxel-Labbé 7763e0218b Removed useless doc groups 2017-11-21 17:16:33 +01:00
Mael Rouxel-Labbé aadddba985 Fixed a couple of "an h..." that should have been "a h..." 2017-11-21 17:15:25 +01:00
Mael Rouxel-Labbé 59017a5e9e Minor code cleaning 2017-11-21 16:14:16 +01:00
Mael Rouxel-Labbé c1a4fe3d65 Added dual_segment_exact 2017-11-21 16:12:40 +01:00
Mael Rouxel-Labbé 6b11752ccd Added an example of protection 2017-11-21 14:28:31 +01:00
Mael Rouxel-Labbé 816fd4f646 Doc improvements
and trailing whitespace cleaning
2017-11-21 14:26:02 +01:00
Mael Rouxel-Labbé 07d6ce363d Cleaned some obsolete todos 2017-11-20 17:35:24 +01:00
Mael Rouxel-Labbé 5bce5be47d Included P3M3's protection file in P3M3/config.h
To ensure that the file is included before Mesh_3's
2017-11-20 17:03:25 +01:00
Mael Rouxel-Labbé 6bf075e682 Cleaned "get_vertex" usages from periodic protection code
Since we insert dummy before protecting, we're in a 1-sheet triangulation
and we don't need to get canonical vertices: every vertex is already canonical
2017-11-20 16:58:49 +01:00
Mael Rouxel-Labbé bc0b45a4a4 Fixed include 2017-11-20 16:58:08 +01:00
Mael Rouxel-Labbé 837d685ae0 Forked Protect_edges_sizing_field.h away from Mesh_3
Can't figure out how to do it directly within the original file without making
things slower for Mesh_3... Fork!
2017-11-20 15:54:22 +01:00
Mael Rouxel-Labbé d859221440 Added wrappers to Mesh_3's optimizers 2017-11-20 15:19:01 +01:00