Commit Graph

845 Commits

Author SHA1 Message Date
Sébastien Loriot efc0c525e8 include non-deprecated header 2021-01-15 10:02:00 +01:00
Maxime Gimeno cf19fb2df9 Fixes 2021-01-08 09:35:35 +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 85325d789f Merge pull request #5090 from afabri/FastEnvelope-GF
Polygon Mesh Processing:  Add envelope test
2021-01-06 16:11:56 +01:00
Sébastien Loriot a095b674e7 change extension to the one recognized by the demo 2020-12-09 14:20:07 +01:00
Sébastien Loriot 3b8d8ecfde update input 2020-12-07 16:22:26 +01:00
Sébastien Loriot 0edbd98898 update example + add it in the user manual 2020-12-03 14:36:43 +01:00
Sébastien Loriot bac1b56e00 test move constructor 2020-12-03 10:24:36 +01:00
Andreas Fabri 3253d61876 Add a 'done' before returning 2020-12-03 08:07:15 +00:00
Andreas Fabri 6046432534 Add a mesh in envelope test 2020-12-03 07:58:33 +00:00
Sébastien Loriot 87f0b49b11 remove extra template parameter 2020-12-01 18:17:03 +01:00
Andreas Fabri 9ec3cf56fb Add example with polygon soup 2020-11-30 07:43:24 +00:00
Maxime Gimeno 3b70343590 Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-11-16 16:19:43 +01:00
Andreas Fabri f246c4abf8 merge 2020-11-13 16:26:57 +00:00
Andreas Fabri c510a89ea0 Improve doc 2020-11-10 09:59:01 +00:00
Andreas Fabri 56b461b2d4 Do not triangulate the prisms 2020-10-22 13:07:28 +01:00
Andreas Fabri d1a5e6c13b Add a figure 2020-10-22 13:00:01 +01:00
Maxime Gimeno bebd60c12b Merge remote-tracking branch 'cgal/master' into Cmake_improvements-maxGimeno 2020-10-20 09:53:54 +02:00
Sébastien Loriot 87b8f66e14 update from master 2020-10-20 09:19:13 +02:00
Andreas Fabri 89c9ed68b6 change namespace and add doc 2020-10-20 09:17:16 +02:00
Mael Rouxel-Labbé f55ef7dd50 Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-10-09 18:36:17 +02:00
Laurent Rineau d075ef4fb3 Merge pull request #4712 from MaelRL/PMP-Clip_with_self_intersections-GF
PMP: Generalize some corefinement code
2020-10-09 17:10:50 +02:00
Mael Rouxel-Labbé 46630bdaad Merge remote-tracking branch 'cgal/master' into PMP-Clip_with_self_intersections-GF 2020-09-22 11:25:01 +02:00
Jane Tournois 4745308384 use graph_visitor instead of creating new triangulate_visitor 2020-09-15 14:38:29 +02:00
Jane Tournois 39e75e7530 rename split_visitor to triangulate_visitor and add PMPTriangulateFaceVisitor 2020-09-10 12:06:10 +02:00
Jane Tournois 626ba2745c replace done() by end() to be consistent with start() 2020-09-08 21:42:00 +02:00
Jane Tournois 268c0eabee replace operator() with more explicit visit() function 2020-09-08 19:03:34 +02:00
Jane Tournois 7f154f5c41 remove trailing whitespaces 2020-09-08 18:45:47 +02:00
Andreas Fabri 903fff4751 Restore example and add one for the visitor
# Conflicts:
#	Polygon_mesh_processing/examples/Polygon_mesh_processing/triangulate_faces_example.cpp
2020-09-08 15:18:19 +02:00
Andreas Fabri f2ff13d6c4 Add a visitor that allows to map each triangle to its original face
# Conflicts:
#	BGL/include/CGAL/boost/graph/named_params_helper.h
#	Polygon_mesh_processing/examples/Polygon_mesh_processing/triangulate_faces_example.cpp
#	Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/triangulate_faces.h
2020-09-08 15:17:18 +02:00
Mael Rouxel-Labbé 8682f9bafb Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-08-24 11:45:17 +02:00
Mael Rouxel-Labbé 1c53aea4e2 Add missing 'const' qualifiers 2020-08-06 08:50:41 +02:00
Mael Rouxel-Labbé 2375fed008 Enhance example to use custom traits (and test array-based PS_to_PM/repair_PS) 2020-08-05 10:49:54 +02:00
Maxime Gimeno 9c15f2c9dc Use FeatureSummary in the demo, and remove CGAL_FOUND 2020-08-04 12:46:17 +02:00
Mael 6553b0dfaa
Remove deleted example from CMakeLists.txt 2020-07-16 09:27:55 +02:00
Mael bbedb5e8b4
Fix name of property maps 2020-07-13 10:19:06 +02:00
Mael Rouxel-Labbé 7e2e9d849a Remove experimental code related to clipping self-intersecting meshes
See functionality added in https://github.com/CGAL/cgal/pull/4790 instead.

Keeping it in a commit instead of filtering the branch to keep the code
in history.
2020-07-03 15:02:00 +02:00
Mael Rouxel-Labbé 3280b9b087 Use new IO functions 2020-06-26 17:06:42 +02:00
Mael Rouxel-Labbé 9cca59ba36 Actually use the new IO functions + some example improvements 2020-06-23 18:24:39 +02:00
Maxime Gimeno ea53a8d70d Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-06-17 14:25:21 +02:00
Maxime Gimeno 25c8313859 Replace IO functions in examples and fix Surface_mesh read_OFF() 2020-06-16 14:36:24 +02:00
Maxime Gimeno 7de5f28310 Fix pmp example about eigen 2020-06-12 09:41:02 +02:00
Mael Rouxel-Labbé e7fd86c2ef Add example of clipping w/ SI 2020-06-12 09:16:41 +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
Mael Rouxel-Labbé fb8463f470 Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-05-22 15:17:56 +02:00
Maxime Gimeno 20898e4b31 fix functions calls 2020-05-14 13:46:57 +02:00
Sébastien Loriot 7c4586be1b Merge remote-tracking branch 'cgal/releases/CGAL-5.0-branch' 2020-05-12 16:59:02 +02:00
Sébastien Loriot fb83386f44 Merge remote-tracking branch 'cgal/releases/CGAL-4.14-branch' 2020-05-12 16:58:32 +02:00
Maxime Gimeno 098cc6abde Fix a PMP example 2020-05-06 11:31:13 +02:00
Sébastien Loriot 0c85cbfcf4 simplify example 2020-05-05 12:16:14 +02:00
Maxime Gimeno 049439fa6b Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-04-30 16:47:58 +02:00
Simon Giraudot 1dd6a665a1 Merge remote-tracking branch 'mine/CMake-Third_party_imported_targets-GF' into CMake-Third_party_imported_targets-GF 2020-04-20 09:09:32 +02:00
Simon Giraudot 421096fd7f Use imported targets everywhere 2020-04-15 14:06:13 +02:00
Mael Rouxel-Labbé c16c1a7ea3 Merge remote-tracking branch 'cgal/master' into CGAL-Optimal_bounding_box-GF 2020-04-10 16:10:11 +02:00
Sébastien Loriot 34299f037c Merge pull request #4140 from MaelRL/PMP-Make_remove_self_intersections_local-GF
PMP: Self-intersection local removal
2020-04-02 13:55:49 +02:00
Maxime Gimeno 6fce467f0c remove whitespaces 2020-03-31 17:02:02 +02:00
Mael Rouxel-Labbé 28500eae87 Remove undocumented examples using experimental functions!!!!! 2020-03-30 17:24:52 +02:00
Mael c766178456
Merge branch 'master' into PMP-Make_remove_self_intersections_local-GF 2020-03-30 09:44:36 +02:00
Maxime Gimeno 5ff8d88151 Merge remote-tracking branch 'cgal/master' into PMP-new_functions-GF 2020-03-27 16:15:38 +01:00
Maxime Gimeno b13e863065 Merge remote-tracking branch 'cgal/master' into PMP-new_functions-GF 2020-03-27 16:12:19 +01:00
Maxime Gimeno 4e6fb685c6 Merge remote-tracking branch 'mine/CGAL_IO-maxGimeno' into HEAD 2020-03-27 11:11:10 +01:00
Maxime Gimeno 9c0648a004 Merge tag 'master_before_no_tws_nor_tabs' into CGAL_IO-maxGimeno 2020-03-27 11:05:43 +01:00
Sébastien Loriot 35b83deffd Update branch from master after trailing whitespaces and tabs removal 2020-03-26 19:16:25 +01:00
Sébastien Loriot 68728f4cd8 extra run of the script to remove tabs and trailing whitespaces 2020-03-26 19:05:04 +01:00
Sébastien Loriot 92f5f0242e Update branch from master after trailing whitespaces and tabs removal 2020-03-26 19:04:33 +01:00
Sébastien Loriot 754699b33d extra run of the script to remove tabs and trailing whitespaces 2020-03-26 18:59:49 +01:00
Sébastien Loriot 4c094fd3c2 Update branch from master after trailing whitespaces and tabs removal 2020-03-26 18:59:19 +01: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
Sébastien Loriot 0a46621dc6 Merge branch 'cgal/releases/CGAL-4.14-branch'
whitespace+tab removal, merged with option -Xignore-all-space
2020-03-26 13:28:46 +01:00
Sébastien Loriot 590612a563 run the script to remove tabs and trailing whitespaces 2020-03-26 13:25:16 +01:00
Mael Rouxel-Labbé 6f90060e7d Flush before std::exit (otherwise nothing is printed) 2020-03-24 11:37:55 +01:00
Mael Rouxel-Labbé af1c69354b Merge remote-tracking branch 'cgal/master' into PMP-Make_remove_self_intersections_local-GF 2020-03-20 15:44:51 +01:00
Mael de563e9844
Merge branch 'master' into PMP-new_functions-GF 2020-03-20 08:48:39 +01:00
Sébastien Loriot 8eeee9c9a8 Update from master after default initialized index maps
Merge-commit + default map fixes
2020-03-18 08:10:54 +01:00
Sébastien Loriot cc1bd20c7c Merge pull request #4356 from sgiraudot/Documentation-Update_cmake_variables-GF
Third party libs: improve documentation + introduce new CMake functions
2020-03-17 18:19:40 +01:00
Sébastien Loriot dc85217d5a fixes after @afabri's review 2020-03-17 15:49:46 +01:00
Mael Rouxel-Labbé 30d4754a04 Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-03-17 09:03:12 +01:00
Maxime Gimeno 2424d54e30 Merge remote-tracking branch 'cgal/master' into PMP-new_functions-GF 2020-03-12 12:10:44 +01:00
Mael Rouxel-Labbé e3efff2d7e Disable remove_self_intersections examples/tests 2020-03-06 12:15:11 +01:00
Mael Rouxel-Labbé 8d4313f7a8 Merge branch 'PMP-Make_remove_self_intersections_local-GF-old' into PMP-Make_remove_self_intersections_local-GF 2020-03-06 12:13:30 +01:00
Mael Rouxel-Labbé fb64638173 Clean example/test 2020-02-27 16:10:09 +01:00
Mael Rouxel-Labbé 5f542ffa00 Remove snap examples from PMP-examples' CMakeLists.txt (for now) 2020-02-26 08:58:26 +01:00
Mael Rouxel-Labbé 374870a6cb Misc minor fixes 2020-02-19 16:07:55 +01:00
Mael Rouxel-Labbé a520ac8285 Clean examples 2020-02-11 16:43:10 +01:00
Maxime Gimeno 4716359ca6 Merge remote-tracking branch 'cgal/master' into PMP-new_functions-GF 2020-02-10 14:29:56 +01:00
Maxime Gimeno e3ace2289d First batch of fixes after review 2020-02-10 14:28:45 +01:00
Simon Giraudot ea30bcc85d Fix remaining CMakeLists.txt 2020-02-10 11:57:56 +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é cb3e5cd83c Merge branch 'PMP-Make_remove_self_intersections_local-GF-old' into PMP-Make_remove_self_intersections_local-GF 2020-02-07 17:09:59 +01:00
Mael bb4247e143
Merge branch 'master' into PMP-Snapping_improvements-GF 2020-02-07 16:31:28 +01:00
Laurent Rineau 49a06e9201 Merge pull request #4362 from afabri/Box_intersection_d-accelerate-GF
PMP::self_intersections: Add Concurrency
2020-02-07 16:25:06 +01:00
Laurent Rineau 0fd7bbc4ff Merge pull request #4364 from afabri/CGAL-Parallel_if_available_tag
CGAL:: Add Parallel_if_available_tag
2020-02-07 16:25:03 +01:00
Laurent Rineau 226462c295 Merge pull request #4414 from oleg-alexandrov/master
Set the precision when saving a mesh
2020-02-07 16:25:00 +01:00
Laurent Rineau 3e8b1cc503 Merge pull request #4455 from oleg-alexandrov/holeFill
Add control over hole size in the hole-filling example
2020-02-07 16:24:42 +01:00
Mael Rouxel-Labbé 84215c95c4 Merge branch 'Box_intersection_d-accelerate-GF-old' into Box_intersection_d-accelerate-GF 2020-02-07 11:03:07 +01:00
Mael Rouxel-Labbé 81f04ac2d9 Move remove_self_intersections to PMP::experimental 2020-02-03 18:12:45 +01:00
Mael Rouxel-Labbé 32aa902bf5 Merge branch 'PMP-Make_remove_self_intersections_local-GF-old' into PMP-Make_remove_self_intersections_local-GF 2020-02-03 13:05:52 +01:00
Mael 42a03ae168
Add missing header 2020-02-03 10:29:35 +01:00
Maxime Gimeno 13b2c0201e Merge remote-tracking branch 'cgal/master' into PMP-volume_segmentation 2020-01-31 15:05:51 +01:00
Maxime Gimeno 28ee64dbf2 Add missing data 2020-01-31 09:29:54 +01:00
Mael 8f29c7cb63
Merge branch 'master' into CGAL-Parallel_if_available_tag 2020-01-29 16:42:54 +01:00
Mael Rouxel-Labbé 41271b67f6 Improvements to CGAL i/o across the board 2020-01-29 10:00:07 +01:00
Maxime Gimeno 82f0f86733 Fixes and example 2020-01-28 10:44:23 +01:00
Mael Rouxel-Labbé 828e47f61e Fix some header includes 2020-01-17 17:55:53 +01:00
Maxime Gimeno dd6cf454dc add precision(17) to most examples involving surface_mesh or polyhedron. 2020-01-17 09:58:44 +01:00
Mael Rouxel-Labbé 57a86afc3b Merge branch 'PMP-Snapping_improvements-GF-old' into PMP-Snapping_improvements-GF 2020-01-15 18:18:24 +01:00
Mael Rouxel-Labbé a1115c2ef1 Merge branch 'PMP-Snapping_improvements-GF-old' into PMP-Snapping_improvements-GF 2020-01-15 10:44:49 +01:00
Mael Rouxel-Labbé 5089dcf40a Tiny compilation fix 2020-01-15 10:41:50 +01:00
Sébastien Loriot def8ebda4b improve example by using CGAL functions 2020-01-09 08:19:30 +01:00
Oleg Alexandrov cec720a69c Add control over hole size in the hole-filling example 2020-01-08 18:25:25 -08:00
Mael Rouxel-Labbé 743228a250 Merge branch 'PMP-Make_remove_self_intersections_local-GF-old' into PMP-Make_remove_self_intersections_local-GF 2020-01-02 16:02:08 +01:00
Mael 0f4986f82b Merge branch 'master' into PMP-New_vertex_normal_computations-GF 2019-12-26 19:37:59 +01:00
Mael Rouxel-Labbé a1adb5fc94 Use correct parallel tags in the example 2019-12-03 12:00:09 +01:00
Mael Rouxel-Labbé 7cdd079820 Add two examples for PMP::snap (self-snapping and organic/fixed snapping) 2019-11-28 15:47:46 +01:00
Mael Rouxel-Labbé e73b973b62 Use Parallel_if_available_tag to simplify code that used CGAL_LINKED_WITH_TBB 2019-11-20 12:24:54 +01:00
Mael Rouxel-Labbé 47c0ce254e Enrich example 2019-11-19 18:40:34 +01:00
Mael Rouxel-Labbé ac86fadd7a Misc code formatting improvements 2019-11-19 12:51:17 +01:00
Andreas Fabri a44674a694 Add ConcurrencyTag in Box_intersection_d 2019-11-15 21:45:19 +01:00
Andreas Fabri bef2b5f1b8 Parallelize using 2 or 4 parallel threads 2019-11-15 16:21:25 +01:00
Andreas Fabri f033e0a244 Cleanup 2019-11-14 11:45:37 +01:00
Andreas Fabri 5ea8d36129 Do not use a concurrent_vector 2019-11-13 09:35:48 +01:00
Andreas Fabri 343ca0b4a7 Add the version that reports all pairs of faces and performs the intersection tests in parallel 2019-11-12 18:27:32 +01:00
Andreas Fabri 732d1d8f8a Add overloads with ConcurencyTag 2019-11-12 16:32:08 +01:00
Andreas Fabri 899d8f7b59 cleanup 2019-11-12 13:01:26 +01:00
Andreas Fabri ead0da3c77 WIP: not the same number of intersections for Tuyaeaux.stl 2019-11-12 11:40:40 +01:00
Andreas Fabri b6bc521c22 WIP does not even compile 2019-11-08 16:21:20 +01:00
Mael Rouxel-Labbé 413d4986bc Add an example showing the usage of PMP::Locate 2019-10-08 15:55:17 +02:00
Mael Rouxel-Labbé 677908e405 Fix NP usage 2019-09-26 13:02:45 +02:00
Maxime Gimeno ccf338b9b7 Merge remote-tracking branch 'cgal/master' into PMP-volume_segmentation 2019-09-04 14:58:16 +02:00
Mael Rouxel-Labbé c6d20b9c7c Tiny verbose addition 2019-08-28 14:56:44 +02:00
Mael Rouxel-Labbé e9d1841a5f Merge branch 'PMP-Make_remove_self_intersections_local-GF-old' into PMP-Make_remove_self_intersections_local-GF 2019-08-26 16:00:37 +02:00
Mael Rouxel-Labbé 61ef88f2de Clean example 2019-08-26 13:24:43 +02:00
Martin Skrodzki e7e724e4f9 Include Benchmark examples in the Hausdorff examples file. 2019-08-23 07:44:08 +02:00
Mael Rouxel-Labbé d60d7c578e Add an example and a test for self intersection removal (wip) 2019-08-07 15:32:23 +02:00
Martin Skrodzki 156cac5107 Implement benchmarking on both time and number of culled triangles. 2019-07-20 19:05:55 +02:00
Martin Skrodzki c91c780cae Add timing to the example file and restore all tests in the test file. 2019-07-19 11:27:59 +02:00
Sébastien Loriot 9fda0ffcc9 move example of using undocumented feature into test 2019-07-18 20:04:10 +02:00
Mael 9ba0870ebd
Merge branch 'master' into PMP-Snap_pp-GF 2019-07-18 17:43:04 +02:00
Mael Rouxel-Labbé 13e87ad3bd Parallelize AABB tree traversal 2019-07-18 14:32:56 +02:00
Mael Rouxel-Labbé 98723ca104 Add an example for snap 2019-07-17 14:58:12 +02:00
Martin Skrodzki 000604faa9 Comment naive comparison method. 2019-07-15 14:20:15 +02:00
Martin Skrodzki e78cbff8a1 Implement naive bounded Hausdoff computation by simple subdivision. 2019-07-15 14:12:01 +02:00
Martin Skrodzki 0332d9f00f Enable reading of real meshes and perturbation of them for distance computation. 2019-07-12 18:55:55 +02:00
Martin Skrodzki d8b6e7dfb1 Results of Code Review with Sebastien. 2019-07-12 18:04:08 +02:00
Mael Rouxel-Labbé f65fb45105 Tiny verbose change 2019-07-03 12:04:06 +02:00
Mael f40f8e4190
Merge branch 'master' into PMP-smoothing-kkatrio 2019-07-01 11:24:11 +02:00
Martin Skrodzki 2a523825a7 Implement a non-trivial toy example to test subdivision with. Intended solution is: Hausdorff distance will be attained at Point (0,0,1) and should be sqrt(3). 2019-06-24 03:42:48 +02:00
Mael Rouxel-Labbé 33c589cb61 Further Ceres-related CMakeLists.txt simplifications 2019-06-21 12:45:23 +02:00
Mael Rouxel-Labbé 7c82c96dfd Proper usage of CMake to find and use Ceres
done with the help of @lrineau
2019-06-21 11:24:32 +02:00
Mael Rouxel-Labbé 10c7aa373a Add new example data file 2019-06-20 14:06:00 +02:00
Mael Rouxel-Labbé 7b72fcbf6c Enable passing nb_iter/time step in command line arg
Also nb_iterations is an unsigned int, not a std::size_t
2019-06-20 13:38:21 +02:00
Mael Rouxel-Labbé cad9a0aaa8 Make things work when Ceres is not available 2019-06-20 13:04:15 +02:00
Mael Rouxel-Labbé 325af6823c Improve examples 2019-06-19 14:39:22 +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
Mael Rouxel-Labbé 3b53ce20e3 Rename smooth/smooth_along_curvature_flow to smooth_mesh/shape
Also fix edge protection in the demo
2019-06-19 10:17:26 +02:00
Mael Rouxel-Labbé 22bd8a943b Merge smooth_areas and smooth_angles, rework AABB tree, document everything 2019-06-18 16:02:42 +02:00
Mael Rouxel-Labbé bd7fd4a91e Clean useless code 2019-06-05 10:39:08 +02:00
Mael Rouxel-Labbé 6e3f2c3510 Factorize smoothers and clean obsolete code 2019-05-29 15:59:50 +02:00
Mael Rouxel-Labbé cb1d28bf85 Misc cleaning 2019-05-24 13:34:50 +02:00
Martin Skrodzki 82e8e4bb46 Initial version of bounded_error_hausdorff method. 2019-05-21 11:56:22 +02:00
Mael Rouxel-Labbé bcec5d8fe4 Cosmetic changes 2019-05-20 12:50:40 +02:00
Mael Rouxel-Labbé a120290675 Merge branch 'PMP-smoothing-kkatrio-old' into PMP-smoothing-kkatrio 2019-05-15 14:31:00 +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 d60f5645aa replace BOOST_FOREACH by c++ ranged-based for loop
some of the command used for the replacement:
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\(([a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((const [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((const typename [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((typename [<>a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack "boost/foreach.hpp" -l --cpp | xargs sed -i '/boost\/foreach.hpp>/d'
2019-03-29 13:22:15 +01:00
Guillaume Damiand 7d406fbb9c
Merge branch 'master' into CGAL-cmake_cleanup-gdamiand 2018-11-05 07:32:58 +01:00
Sébastien Loriot 91330c8c8b add an example for volume decomposition 2018-10-23 11:39:46 +02: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
Mael Rouxel-Labbé d18e21cfe7 Merge branch 'PMP-Filter_degenerate_polygon_soup_input-GF-old' into PMP-Filter_degenerate_polygon_soup_input-GF 2018-10-08 16:19:26 +02:00
Mael Rouxel-Labbé 4e31832136 Added a function to detect and merge duplicate faces 2018-07-30 13:08:16 +02:00
Mael Rouxel-Labbé 007a466b8e Added a function to merge duplicate vertices 2018-07-26 18:32:22 +02:00
Mael Rouxel-Labbé 4a33cde776 Added example and test for repair_polygon_soup 2018-07-26 16:30:56 +02:00
Mael Rouxel-Labbé 0417bb88d7 Hide "remove_degenerate_faces" 2018-07-25 10:53:30 +02:00
Mael Rouxel-Labbé 5b22f7213e Fixed compilation error 2018-07-25 09:46:55 +02:00
Mael Rouxel-Labbé 81d76c2e69 Added example about non-manifold vertex repair 2018-07-25 09:39:50 +02:00
Mael Rouxel-Labbé 15b791901b Fixed compilation error 2018-07-25 08:36:23 +02:00
Mael Rouxel-Labbé 3866e72039 Updated orient_polygon_soup example to also showcase orient_to_bound_a_volume 2018-07-24 15:15:01 +02:00
Mael Rouxel-Labbé 64245daa4f Renamed PMP example to clarify use of orient functions 2018-07-24 14:55:20 +02:00
Mael Rouxel-Labbé e24b6c4dbf Revert "remove examples using a non documented function"
This reverts commit f2882073bb.

+ updates
2018-07-24 14:39:47 +02:00
konstantinos katrioplas 9901ed78ef Merge branch 'master' into PMP-smoothing 2018-07-01 20:07:19 +03:00
Sébastien Loriot 700979b10f remove extra typename 2018-06-18 12:49:56 +02:00
Sébastien Loriot e85196b737 small improvements 2018-06-07 18:10:56 +02:00
Konstantinos Katrioplas a634d6a0bc rename headers, rm unnecessary files, clean, edit changes.md 2018-06-06 17:16:12 +02:00
Sébastien Loriot 6e1d9b2a3e clip_volumes -> clip_volume 2018-06-06 13:30:36 +02:00
Sébastien Loriot e26bee1a61 rename new_face_visitor -> visitor 2018-06-06 09:50:05 +02:00
Konstantinos Katrioplas 3e78e3ad4b typos and various small fixes, incl. smoothing helpers 2018-05-31 17:56:47 +02:00
Sébastien Loriot f29d8339fa document corefine_and_compute_boolean_operations() 2018-05-28 17:37:46 +02:00
Sébastien Loriot a207317cf5 add a parameter in corefinement functions to track the creation of new faces 2018-05-28 17:36:07 +02:00
Konstantinos Katrioplas 652f4d870f additions and corrections requested 2018-03-28 18:06:41 +02:00
Konstantinos Katrioplas 70cea9a057
Merge branch 'master' into PMP-smoothing-kkatrio 2018-03-28 15:45:18 +02:00
Sébastien Loriot 5792528fa7 Refreshing PMP-smoothing-kkatrio with master 2018-03-26 14:40:11 +02:00
konstantinos katrioplas f04bd6576e eigen library macro 2018-03-26 14:33:51 +02:00
konstantinos katrioplas dedc4170e4 examples 2018-03-26 14:32:54 +02:00
konstantinos katrioplas 5fae4da012 cleaning API, overloads, correcting parameters 2018-03-26 14:30:43 +02:00
konstantinos katrioplas 72f71f121a consistent header filenames 2018-03-26 14:30:43 +02:00
konstantinos katrioplas 13c4b894d1 images and demo plugin 2018-03-26 14:30:41 +02:00
konstantinos katrioplas 54881e81e8 examples and docs 2018-03-26 14:29:30 +02:00
konstantinos katrioplas 0550bf4c84 setup example and a few comments 2018-03-26 14:28:09 +02:00
konstantinos katrioplas e05831c1b3 extra button in plugin 2018-03-26 14:20:47 +02:00
Sébastien Loriot 4824f3bcc9 Merge branch 'master' into gsoc17-summerwork
Reworking of 4e4d495ac2
2018-03-26 14:04:36 +02:00
konstantinos katrioplas a9cc924001 renaming functions in API 2018-03-26 13:59:24 +02:00
konstantinos katrioplas 3f7267502a remove trivial example 2018-03-26 13:58:36 +02:00
konstantinos katrioplas 43a20f8a21 selected vertices 2018-03-26 13:58:36 +02:00
konstantinos katrioplas 6100a85442 examples 2018-03-26 13:58:36 +02:00
konstantinos katrioplas d5e42a4da5 half subsampled sphere under curvature flow example 2018-03-26 13:56:07 +02:00
konstantinos katrioplas d5c6283b54 testing curvature flow, exploring robust degenerate handling, overloads and minor fixes 2018-03-26 13:56:07 +02:00
konstantinos katrioplas 46c524ecaf curvature example in cmakelists 2018-03-26 13:56:07 +02:00
Andreas Fabri 8c41669fb7 move properties from Mesh_3 to BGL, Polyhedron_3 and Surface_mesh 2018-03-22 16:37:37 +01:00
Laurent Rineau 7df26c594b
Merge branch 'master' into BGL-generic_property_map-GF 2017-12-14 09:46:01 +01:00
Laurent Rineau 3c6640bf59 Merge pull request #1436 from lrineau/CGAL-new_cmake-GF
Renewal of CMake scripts: header-only, ctest, CMake>=3.1

# Conflicts:
#	Installation/config/testfiles/CGAL_CFG_NESTED_CLASS_FRIEND_DECLARATION_BUG.cpp
2017-12-05 18:20:05 +01:00
Andreas Fabri 1f8849dfea Make dynamic property API similar to the non dynamic case 2017-11-29 08:28:16 +00:00
Laurent Rineau 0681ac6dbc Fix the TBB_USE_FILE warnings 2017-11-15 17:00:02 +01:00
Laurent Rineau 3ff09bc549 Merge pull request #2580 from lrineau/CGAL-Support_CMake_3.10-GF
Renew the handle of policies, for CMake-3.10
2017-11-15 16:47:42 +01:00
Laurent Rineau 86fb40832a Merge pull request #2580 from lrineau/CGAL-Support_CMake_3.10-GF
Renew the handle of policies, for CMake-3.10
2017-11-13 12:01:39 +01:00
Laurent Rineau c6068691fa Merge pull request #2547 from lrineau/CMake-parse_CTest_XML_output-lrineau
CGAL testsuite implemented with CTest plus Python (part.1)
2017-11-13 11:13:54 +01:00
Laurent Rineau 62c70d41ca Renew the handle of policies, for CMake-3.10
Now that we require CMake>=3.1, we can forget a lot of old CMake policies.

`CMP0053` `OLD` behavior is still needed, because of a bug in Qt5 CMake files, but it will
not be set with CMake>=3.10. Let's assume that a recent CMake version means
a recent Qt5 version.
2017-11-06 14:58:36 +01:00
Laurent Rineau 208005b014 Merge pull request #2565 from MaelRL/Various-Fix_numeric_limits_min_uses_411-GF
Fix wrong uses of std::numeric_limits::min() (4.11)
2017-11-03 14:29:30 +01:00
Mael Rouxel-Labbé 5ef873d67e Merge remote-tracking branch 'mine/Various-Fix_numeric_limits_min_uses-GF' into Various-Fix_numeric_limits_min_uses_411-GF 2017-10-27 11:57:21 +02:00
Mael Rouxel-Labbé da5200f577 Fixed wrong uses of std::numeric_limits::min() 2017-10-27 11:40:22 +02:00
Sébastien Loriot d23b301cea filter edges to be stitched to avoid creating non-manifold vertices
edges filtered have two endpoints to be merged
2017-10-02 16:20:05 +02:00
Jane Tournois e2e5b1ed05 edge_is_feature_map is not an optional parameter
see reviews in the small feature
2017-08-18 10:51:25 +02:00
Jane Tournois d5aa3db51d doc and indentation fixes 2017-08-17 17:24:05 +02:00
Jane Tournois 370d7bb591 tidy the example 2017-08-17 12:22:24 +02:00
Maxime Gimeno 43ff0d092c Implementation review Jane and sebastien 2017-08-11 15:30:03 +02:00
Maxime Gimeno 32999ddd78 New pass over doc, tests and examples 2017-08-07 14:50:23 +02:00
Maxime Gimeno 1fe1e21bb6 Replace maximum_surface_patch by first_index. 2017-08-07 13:32:02 +02:00
Maxime Gimeno 1bad0e7202 Use edges instead of halfedges for edge_is_feature_t and map 2017-08-07 11:39:07 +02:00
Maxime Gimeno 222f7f3965 Add an example and a test for detect_features 2017-08-04 15:32:16 +02:00
Maxime Gimeno d588c55bbb Make functions free functions and wright doc 2017-08-04 15:06:41 +02:00
Laurent Rineau f8760d591b Merge pull request #2136 from afabri/Polygon_mesh_processing-accelerate_isotropic_remeshing-GF
Polygon_mesh_processing: Accelerate Isotropic_remeshing
2017-07-21 10:45:32 +02:00
Jane Tournois c019f0a341 make target_edge_length bigger
when do_protect is set to true, target_edge_length cannot be too small
or it would prevent from terminating
2017-07-11 20:32:23 +02:00
Jane Tournois 436c5ce213 remove output to a file to save time in the testsuite 2017-07-11 20:31:31 +02:00
Jane Tournois 63588be9d2 cleaning of example 2017-07-11 20:31:31 +02:00
Andreas Fabri 2ce105f516 BUG FIX: In a previous commit a line got lost 2017-07-11 20:31:29 +02:00
Andreas Fabri 8cc58040fc fix typo. Note also that in a previous fix I accidentally added code for the Surface_mesh::Property_map 2017-07-11 20:31:29 +02:00
Sebastien Loriot 196fb95308 Merge branch 'master' into PMP-add_random_perturbation-jtournois 2017-07-10 17:48:54 +02:00
konstantinos katrioplas 3c5ca4d88d setup for curvature flow class 2017-07-05 12:20:24 +03:00
konstantinos katrioplas 517e35d894 use (optionally) weighted angles on calculating the barycenter 2017-06-25 20:12:54 +03:00
Guillaume Damiand 013f447395 Merge branch 'master' into BGL-LCC-gdamiand 2017-06-22 23:21:39 +02:00
konstantinos katrioplas d93e18b1b3 add constrained edges map 2017-06-19 14:51:26 +03:00
konstantinos katrioplas f8019da79d new design: smoothing.h - internal/Isotropic_remeshing/smoothing_impl.h 2017-06-18 22:51:15 +03:00
Guillaume Damiand c8250c4570 Merge branch 'master' into BGL-LCC-gdamiand 2017-06-15 10:03:53 -04:00
Jane Tournois 3eddebe758 add example in the CMakeLists.txt 2017-06-15 12:31:51 +02:00
Jane Tournois 12f15bf3f8 add an example for random perturbation 2017-06-15 12:31:51 +02:00
Guillaume Damiand f5a94891bb Update examples and demo that use BGL for LCC. 2017-06-14 11:42:15 -04:00
konstantinos katrioplas 3ff37e0ff6 project to surface with an Incremental remesher 2017-06-11 23:24:17 +03:00
konstantinos katrioplas b66b27a1ae area smoothing 3D stable without projection 2017-06-10 13:31:33 +03:00
konstantinos katrioplas 6c9718e272 angle-based smoothing 2017-06-03 22:45:06 +03:00
Sébastien Loriot 6d2526499e replace iterators of face patch indices by a range 2017-05-30 15:09:42 +02:00
Sébastien Loriot b4194e3614 import API and documentation 2017-05-30 15:09:42 +02:00
Maxime Gimeno 3ab2f10997 replace remaining 'componant' by 'patch' 2017-05-30 15:09:42 +02:00
Maxime Gimeno 1f96262d3d Rename the graph into Face_filtered_graph and add a function to check its validity. 2017-05-30 15:09:42 +02:00
Maxime Gimeno 249f359048 Fix PMP example 2017-05-30 15:09:42 +02:00
Andreas Fabri 0707e06cee Changes after Andreas' review 2017-05-30 15:08:34 +02:00
konstantinos katrioplas 992a37e7be angle bisection 2017-05-28 21:52:55 +03:00
konstantinos katrioplas f14c28d933 typo 2017-05-26 14:40:54 +03:00
konstantinos katrioplas 510a041aed setup simple example for basic angle smoothing 2017-05-26 14:33:59 +03:00
Laurent Rineau b037471750 Merge pull request #2075 from afabri/CGAL-dont_include_graph_traits_header-GF
Do not include graph_traits_{Polyhedron | Surface_mesh}.h
2017-05-19 10:28:38 +02:00
Guillaume Damiand 885ef4775a Update examples and tests following renaming of BGL LCC helpers. 2017-05-10 16:20:11 -04:00
Andreas Fabri 1dbedb7391 fix choices of std::cerr or std::cout 2017-04-27 09:04:12 +02:00
Andreas Fabri c81b707bfb Do not include graph_traits_{Polyhedron | Surface_mesh}.h 2017-04-24 19:17:43 +02:00
Jane Tournois d4c857b063 improve examples by adding a precondition with CGAL::is_triangle_mesh 2017-04-18 12:13:27 +02:00
Guillaume Damiand 755272148a Cleanup BGL for LCC; add shortcut for item with id to simplify definition. 2017-03-31 17:11:36 -04:00
Guillaume Damiand 15ac1f6b35 Add two more examples for BGL for LCC 2017-03-29 13:53:22 -04:00
Guillaume Damiand f587aca1f3 Cannot use BOOST_FOREACH if we add halfedge in the loop. 2017-03-29 13:32:16 -04:00
Guillaume Damiand 13ed16043b Update BGL for LCC and continue on examples/tests 2017-03-29 14:22:27 -04:00
Guillaume Damiand 3f382fe6b4 Add more examples for LCC BGL 2017-03-28 12:52:31 -04:00
Laurent Rineau eb5f52869f Use the new API of target_link_libraries
... otherwise CMake warns about mixing old and new usages of that CMake
command.
2017-03-27 18:04:54 +02:00
Sébastien Loriot 516b732adf using tbb::atomic instead of cpp11::atomic 2017-01-16 15:18:46 +01:00
Sébastien Loriot 0446958c5a parallel version of mesh distance function requires cpp11::atomic 2017-01-13 13:19:29 +01:00
Sébastien Loriot 9ae7b37845 Merge pull request #1745 from sloriot/Polyhedra_corefinement-enhancements-sloriot
Add corefinement operations in PMP
2017-01-12 12:05:18 +01:00
Sébastien Loriot 47c7b48911 fix copy-paste error 2017-01-11 16:45:42 +01:00
Sébastien Loriot 6341b5d5ed rename named parameter and update concept after adding edge sampling 2016-12-30 14:52:10 +01:00
Sébastien Loriot 886b65edd1 remove set_ prefix from named parameters 2016-12-29 17:50:16 +01:00
Sébastien Loriot 94b2720fbd use name parameters for selecting the sampling algorithm
A dedicated sampling of edges is also introduced as well as
an option to use input vertices to evaluate the distance.
2016-12-29 07:20:25 +01:00
Andreas Fabri c84e72f7a5 Fix typo in example; Functions in manuals always with '()' 2016-12-29 07:20:24 +01:00
Maxime Gimeno 9140ab3f31 Replace approximated by approximate in the function names. 2016-12-29 07:20:22 +01:00
Sébastien Loriot 3710a60b9c doc clean up 2016-12-29 07:20:22 +01:00
Maxime Gimeno 0cc2c59981 Fixes for SF. 2016-12-29 07:20:22 +01:00
Maxime Gimeno cc44c571e5 Shorten the code lines. 2016-12-29 07:20:22 +01:00
Maxime Gimeno 3fca4399c6 Add examples and keep fixing the doc 2016-12-29 07:20:22 +01:00
Maxime Gimeno a4127d74c1 Add distance computation to poisson_reconstruction's example. 2016-12-29 07:20:21 +01:00
Maxime Gimeno 6cf0504f95 Fixes and clean-up : first part. 2016-12-29 07:20:21 +01:00
Maxime Gimeno 6858d65e5d Update and fix
Parallelize the plugin if TBB is linked with CGAL and fix the parallelized code in distance.h.
2016-12-29 07:20:21 +01:00
Maxime Gimeno a6b3caa1a5 Add the hausdorff example file. 2016-12-29 07:20:20 +01:00
Maxime Gimeno c5a17ce354 Change `approximated_Hausdorff_distance()` to use a Surface_mesh instead of a triangle range. 2016-12-29 07:20:19 +01:00
Maxime Gimeno 09040105a1 Create an example file to test the Hausdorff distance. 2016-12-29 07:20:19 +01:00
Sébastien Loriot 98862227be make it work with Polyhedron
the indices of the faces are initialized now if the face index map is writable
2016-12-19 16:49:51 +01:00
Sébastien Loriot c3e1309181 update from master branch 2016-12-05 14:37:29 +01:00
Sébastien Loriot 6604704dbe fix examples 2016-12-05 14:26:33 +01:00
Sébastien Loriot a84faf682c use a larger edge target in the example 2016-11-15 13:57:12 +01:00
Andreas Fabri ee1a911af5 only compile if the compiler supports cxx_range_for 2016-11-14 08:21:03 +01:00
Andreas Fabri df3af79866 Add an example that uses a std::map as property map 2016-11-01 09:48:48 +01:00
Sébastien Loriot f4d67dd4af Refresh branch from master 2016-10-19 14:27:08 +02:00
Sébastien Loriot 7c4e1aee8b simplify example 2016-10-19 13:57:04 +02:00
Laurent Rineau 0d5ddad5c3 Merge pull request #1534 from lrineau/CGAL-Allow_examples_to_use_cpp11_features-lrineau
Allow examples to use C++>=11 features
2016-10-17 10:03:05 +02:00
Sébastien Loriot f2882073bb remove examples using a non documented function
these examples will be restored later
2016-10-06 09:47:37 +02:00
Laurent Rineau 50d753350e Allow examples to use C++>=11 features
The macro `create_single_source_cgal_program` from
`CGAL_CreateSingleSourceCGALProgram` has been modified accordingly.

(cherry picked from commit 571659aaa32a30d7bfc0ce54a9d29c56079dca06)
2016-09-30 18:42:46 +02:00
Sébastien Loriot efa9b9bac4 rename boolean operation functions
The change of names comes from the fact the the constness of input meshes
cannot be guaranteed without having different type of input and output
meshes
2016-09-29 15:25:43 +02:00
Sébastien Loriot 29557c6693 add a comment in an example 2016-09-29 10:19:09 +02:00
Sébastien Loriot 5de5315ef5 vertex point map must be default constructible 2016-09-27 17:32:12 +02:00
Sébastien Loriot 5b085fbb74 update comment 2016-09-26 10:19:40 +02:00
Sébastien Loriot 6b338eeb1f improve the name of projects in cmake scripts of examples 2016-09-08 00:02:55 +02:00
Sébastien Loriot b47199f009 make all corefinement examples compiling 2016-07-06 11:45:23 +02:00
Sébastien Loriot 7a0ff9d28e First implementation of the corefinement of 2 triangle meshes
implementation uses a visitor for the function computing the intersection
of 2 triangle meshes.
2016-07-04 16:28:52 +02:00
Sébastien Loriot 84311eab64 update doc after the review of @janetournois 2016-06-24 16:58:34 +02:00
Sébastien Loriot 8931409a28 dump polylines into a file 2016-06-24 16:58:26 +02:00
Sébastien Loriot 27badf0b43 Add a version of the code to compute intersection of TriangleMesh
The code is a copy the one in Operation_on_polyhedra that was
only working with Polyhedron_3.
For the moment only default parameters are used. NamedParameters
will be introduced later.
2016-06-24 16:58:12 +02:00
Sébastien Loriot 2860e1fc51 add examples for corefinement 2016-05-20 17:51:06 +02:00
Sébastien Loriot 45406a5296 Merge pull request #788 from bo0ts/Installation-split_config-pmoeller
Split CGALConfig.cmake and CGALExports.cmake
2016-03-06 15:36:55 +01:00
Sebastien Loriot 5870f1361a Merge pull request #872 from afabri/PMP-namespace_PMP-GF
The namespace forwarding goes in the user code, not in a CGAL header
2016-03-03 17:00:08 +01:00
Andreas Fabri dd8a68c4c5 The namespace forwarding goes in the user code, not in a CGAL header 2016-03-02 16:52:13 +01:00
Andreas Fabri 8663b3ccbe deal with isolated vertices when turning a polygon soup in a polyedral surface 2016-02-29 11:04:33 +01:00
Philipp Möller 4211a4f01e Globally remove CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS
This is a Cmake 2.4.3 variable that isn't even documented anymore.
2016-02-16 17:02:55 +01:00
Sébastien Loriot 7cf081e061 add missing graph_traits include 2016-02-02 17:35:30 +01:00
Andreas Fabri b84596aff9 include graph_traits file for Polyhedron_3 2016-02-02 09:28:18 +01:00
Jane Tournois ae1ea30d45 reorder parameters for consistency in PMP package 2016-01-11 12:20:45 +01:00
Jane Tournois 0ab047eb37 reorder variables for API consistency in PMP package 2016-01-11 12:12:59 +01:00
Jane Tournois 74355818b1 reorder parameters for border_halfedges() 2016-01-11 10:19:41 +01:00
Philipp Möller aec9029352 Add a check to the triangulate_faces example
This turns it from an example to an actual test.
2015-12-11 15:35:12 +01:00
Jane Tournois 27bc02ebcf Revert "fix compilation of split_long_edges for Polyhedron"
This reverts commit 213a280eef.

and propose another solution to deal with edges vs halfedges
2015-11-12 15:55:35 +01:00
Jane Tournois ef40621699 improve doc and rename function 2015-11-12 10:20:19 +01:00
Jane Tournois 07ae6235bf put mesh as last parameter of get_border, for consistency
and return output iterator
2015-11-12 09:33:22 +01:00
Jane Tournois 56147a642e add end of line at end of file (triggers a warning) 2015-11-10 14:51:21 +01:00
Sébastien Loriot 0072b649e2 Merge branch 'old/Polygon_mesh_processing-local_remeshing-GF' into Polygon_mesh_processing-local_remeshing-GF 2015-11-05 20:11:10 +01:00
Jane Tournois 78f45deccb remove output stream from example 2015-11-05 20:09:18 +01:00
Jane Tournois 2ebaa7bfd9 remove timer from example 2015-11-05 20:09:17 +01:00
Jane Tournois 893b80c490 rename function to isotropic_remeshing() 2015-11-05 20:09:14 +01:00
Sébastien Loriot c6e649aa9b Merge branch 'Polygon_mesh_processing-local_remeshing-GF-old' into Polygon_mesh_processing-local_remeshing-GF
and adapt plugin to CGAL::Three
2015-11-05 20:07:15 +01:00
Sébastien Loriot 54ca52b538 Merge branch 'BGL-SurfaceMesh2SurfaceMesh-GF' into Polygon_mesh_processing-local_remeshing-GF 2015-11-05 19:25:00 +01:00
Andreas Fabri d2ed79d38d Add keep_large_connected_components (code,doc,test) 2015-10-22 09:01:08 +02:00
Andreas Fabri 6a5395ff60 Call mesh.garbage_collection() before writing an OpenMesh after triangulate_holes()
This is necessary, as faces are deletes and new faces created,
and as in OpenMesh deleted faces are not reused.
2015-09-15 16:11:11 +02:00
Laurent Rineau 59ac9f30fc Merge pull request #293 from sloriot/PMP-fix_remove_degenerate_faces-sloriot
Polygon mesh processing:  fix remove_degenerate_faces() but do not publish it in the documentation
2015-09-04 11:24:36 +02:00
Sébastien Loriot b5f44b3960 forgot to remove from the cmakelist example using a non documented function 2015-09-03 13:07:46 +02:00
Jane Tournois ce54198aa7 Merge branch 'Polygon_mesh_processing-local_remeshing-GF-old' into Polygon_mesh_processing-local_remeshing-GF 2015-09-02 15:57:23 +02:00
Laurent Rineau ff796222d3 Replace VERSION_GREATER by "NOT VERSION_LESS"
Because actually Eigen 3.2.0 is a correct Eigen version!

Was pointed out by the testsuite:
https://cgal.geometryfactory.com/CGAL/Members/testsuite/CGAL-4.7-Ic-121/Polygon_mesh_processing_Examples/TestReport_lrineau_Ubuntu-Latest-CXX11.gz
2015-08-20 15:09:30 +02:00
Jane Tournois 9edeaa38f2 cleanup example 2015-08-18 17:52:33 +02:00
Jane Tournois 5cd95d9289 add remeshing example 2015-08-18 17:48:57 +02:00
Jane Tournois 1f91bd8a77 avoid compilation of tests and examples that use fairing when Eigen < 3.2 2015-08-17 12:23:09 +02:00
Sébastien Loriot 51839a0b84 remove data that can be generated
prepare for rebasing
2015-07-15 10:54:41 +02:00
Jane Tournois 1967235bbd fix return value to 0
this example was making all the testsuite line red...
2015-07-03 16:48:45 +02:00
Jane Tournois 275d24e103 add new line at end of file 2015-07-03 16:16:46 +02:00
Jane Tournois 6491a3e9c4 fix compilation for windows 2015-07-03 16:14:16 +02:00
Jane Tournois 12ccaeb3a5 rename type to avoid error on windows
Polyline conflicts with a type defined in
Program Files (x86)\Windows Kits\8.0\include\um\wingdi.h
2015-07-03 16:12:31 +02:00
Jane Tournois 4e8c149b9b fix compilation and remove useless assertions 2015-07-02 16:58:42 +02:00
Jane Tournois 32f0c9b37b rename Point_inside_polygon_mesh to Side_of_triangle_mesh
and document it
2015-06-25 11:51:45 +02:00
Jane Tournois d52ce62167 improve examples for user manual (Pierre's review) 2015-06-23 14:25:16 +02:00
Jane Tournois 6e621f037d improve examples for user manual 2015-06-23 12:28:25 +02:00
Jane Tournois 3aad1a2b56 improve example for user manual 2015-06-23 12:00:43 +02:00
Jane Tournois 5efe8e3c13 improve example for user manual 2015-06-23 11:34:15 +02:00
Jane Tournois 7977d10418 rename is_self_intersecting to does_self_intersect
for consistency with do_intersect
2015-06-22 11:17:43 +02:00
Andreas Fabri 91af42e5ba Show how to write into a property_map 2015-05-29 16:07:24 +02:00
Jane Tournois 12b1238b87 change the use of is_valid_polygon_mesh 2015-05-15 12:02:50 +02:00
Jane Tournois d04eea0ac0 convert assertion 2015-05-15 11:44:05 +02:00
Andreas Fabri 09ea32096d Add generic is_valid_polygon_mesh() to BGL Helpers 2015-05-15 10:52:31 +02:00
Sébastien Loriot dceb558e4f Merge branch 'Polygon_mesh_processing-GF' into Polygon_mesh_processing_OpenMesh-GF
Conflicts:
	Polygon_mesh_processing/examples/Polygon_mesh_processing/remove_degeneracies_example.cpp
2015-05-14 15:45:35 +02:00
Andreas Fabri 81f12e2a9f Add triangulate face example for OpenMesh 2015-05-14 11:12:53 +02:00
Sébastien Loriot a49312392a dump on std::cerr 2015-05-14 11:00:54 +02:00
Jane Tournois 6c4785a29c On Polygon_mesh_processing_OpenMesh-GF: fairing pour openmesh 2015-05-13 16:10:21 +02:00
Andreas Fabri 81318a1cfd more small examples for degenerate meshes 2015-05-13 09:29:39 +02:00
Andreas Fabri 1472ec273c cleanup 2015-05-12 19:33:35 +02:00
Andreas Fabri acd5c4c336 WIP (loops) add remove_degeneracies for OpenMesh 2015-05-12 19:33:02 +02:00
Andreas Fabri 94183e696c WIP (does not compile yet) Add stitch borders OpenMesh example 2015-05-12 16:24:28 +02:00
Andreas Fabri c0ccd47d78 Add point inside OpenMesh example 2015-05-12 15:23:33 +02:00
Andreas Fabri c5d8d81a4b add hole filling example for Surface_mesh 2015-05-12 12:34:26 +02:00
Andreas Fabri 797e51ae62 pass vertex point pmap 2015-05-11 17:05:02 +02:00
Andreas Fabri f88ff84d36 move the property map class to a CGAL header file 2015-05-11 14:57:14 +02:00
Andreas Fabri b0f21fcf34 add hole filling example 2015-05-11 13:04:48 +02:00
Andreas Fabri 9906380242 add hole filling example 2015-05-11 13:04:36 +02:00
Andreas Fabri 6ad5ff4f55 First example for PMP and OpenMesh 2015-05-11 12:28:39 +02:00
Andreas Fabri 238e054ec5 WIP: Add example using OpenMesh (won't compile as we need a wrapper for property maps 2015-05-11 09:36:44 +02:00
Jane Tournois 4f98659653 example fixed. The numbers were just too high 2015-04-10 13:02:01 +02:00
Sébastien Loriot 6a375326fa rename named param kernel to geom_traits and fix compilation issues 2015-04-02 07:33:24 +02:00
Jane Tournois 234ff51662 remove useless typedefs 2015-04-01 16:44:37 +02:00
Jane Tournois 388f155c1e add data about degeneracies 2015-04-01 15:09:36 +02:00
Jane Tournois 6a4e2552db add named parameters and an example to remove_degenerate_faces 2015-04-01 14:45:46 +02:00
Jane Tournois 396d1875ab named parameters in self_intersections.h (code and doc) 2015-04-01 13:46:53 +02:00
Jane Tournois 8d60913c43 introduce named parameters in keep_largest_connected_components 2015-03-31 12:09:35 +02:00
Jane Tournois cbfef8b105 introduce named parameters for connected_components 2015-03-31 11:34:19 +02:00
Jane Tournois ceda35d9dd use named parameters in compute_normal.h functions
todo : complete documentation
2015-03-26 17:02:00 +01:00
Jane Tournois 21606b28c0 add VertexPointMap to the code of self intersections.
note this version is temporary because it will be using named parameters
2015-03-26 12:02:17 +01:00
Jane Tournois 59cbb9403f add VertexPointMap in fairing code 2015-03-26 11:31:08 +01:00
Jane Tournois d913b48d98 introduce bgl named function parameters
and implement them for hole filling, refine and fair functions
2015-03-20 09:52:54 +01:00
Sébastien Loriot 78f2283406 move header files 2015-03-18 17:11:45 +01:00
Sébastien Loriot 6d2c6df6ab rename header 2015-03-18 15:11:10 +01:00
Sébastien Loriot 324839c8ae move header files 2015-03-18 11:51:33 +01:00
Andreas Fabri 4cd8980f38 Add implementation of reverse_face_orientations 2015-03-17 17:37:22 +01:00
Sébastien Loriot 9cc74c2073 remove unused variable 2015-03-17 16:20:37 +01:00
Sébastien Loriot 7a9ca638e6 rename output 2015-03-17 16:20:37 +01:00
Jane Tournois 8007bf6d91 add function reverse_face_orientations & rename is_oriented.h to orientation.h 2015-03-17 14:48:16 +01:00
Jane Tournois dd79401562 hole filling section
also simplify the hole filling example
2015-03-17 12:50:03 +01:00
Jane Tournois ea15218a8f change input for connected_components_example to one with 3 cc instead of 1 2015-03-17 12:37:39 +01:00
Jane Tournois 31e81b332c fix includes 2015-03-17 12:34:24 +01:00
Jane Tournois 9f328483f7 cleaning of example 2015-03-17 12:33:11 +01:00
Jane Tournois 7b6db59a04 make g_ const 2015-03-17 12:23:55 +01:00
Jane Tournois 55be9f33a0 remove all these *g 2015-03-17 12:21:13 +01:00
Jane Tournois d84758ca21 filename should be const char* 2015-03-17 11:45:18 +01:00
Jane Tournois 33b6ac4a30 improve example to use a bbox of size adaptable to input 2015-03-17 11:19:15 +01:00
Jane Tournois 09b90459c0 change examples so that they can be used directly with the user's input file 2015-03-17 11:07:37 +01:00
Jane Tournois d95f3060ad connected components example 2015-03-16 17:01:48 +01:00
Jane Tournois 1cf083d91a remove useless include and reorder typedefs 2015-03-16 15:02:14 +01:00
Jane Tournois d43302295d mesh_slicer_example 2015-03-16 15:00:16 +01:00
Jane Tournois e0f2883546 change data. elephant was too big 2015-03-16 14:39:38 +01:00
Jane Tournois ada534c4ac compute_normals_example 2015-03-16 14:18:04 +01:00
Jane Tournois 763139bf60 polygon soup example 2015-03-16 14:04:12 +01:00
Jane Tournois ad91bcb215 stitch_borders_example "converted" to Polyhedron
because it only works for a Polyhedron until now
2015-03-16 13:06:19 +01:00
Jane Tournois 2e6353054b stitching example 2015-03-16 12:21:43 +01:00
Jane Tournois a2b792fb19 hole filling example : smoothing 2015-03-16 11:31:52 +01:00
Jane Tournois bfd306b51d example for triangulate_polyline 2015-03-16 11:14:28 +01:00
Jane Tournois c6f59a5329 example is buggy 2015-03-16 11:06:12 +01:00
Jane Tournois 86426f9982 triangulate_faces_example.cpp and add a quad cube 2015-03-16 11:00:37 +01:00
Jane Tournois d7b8390000 add Point_inside_polygon_mesh example 2015-03-13 17:31:57 +01:00
Jane Tournois 101702dd8f cleanup refine() and fair() example, and insert it at the right place in doc 2015-03-13 16:53:03 +01:00
Jane Tournois a22cbbc099 add example for slicer 2015-03-13 16:21:52 +01:00
Jane Tournois 38c3e31bee complete minimal examples, targeting user manual 2015-03-13 15:58:33 +01:00
Jane Tournois d217078122 reorganize examples targeting documentation 2015-03-13 15:33:06 +01:00
Jane Tournois 91e955b310 remove useless example 2015-03-13 15:12:00 +01:00
Sébastien Loriot d16c685cda fix compilation and improve usage of pmaps 2015-03-12 13:49:33 +01:00
Jane Tournois 3ae29f03d6 replace internal::No_constraint with CGAL::Default as default parameter
in keep_largest_connected_components
2015-03-12 12:11:22 +01:00
Jane Tournois 48b5c9fb94 use CGAL::Default instead of internal::No_constraint as EdgeConstraintMap
default value
2015-03-12 11:44:16 +01:00
Jane Tournois fd9b0eb3d9 change case in file name 2015-03-12 10:53:33 +01:00
Jane Tournois bae9d81286 rename examples for connected_components 2015-03-12 10:47:51 +01:00
Jane Tournois 07b0ad5e75 replace boost::tuple by CGAL::cpp11::tuple 2015-03-12 10:42:10 +01:00
Jane Tournois bda07c93b9 fix compilation of connected_components 2015-03-12 10:41:26 +01:00
Jane Tournois d39f201724 in triangulate_hole_polyline, replace begin and end iterators by PointRanges 2015-03-10 11:38:08 +01:00
Jane Tournois 282264a73a in fair() replace (vertices_begin, vertices_end) by vertex range 2015-03-09 17:22:38 +01:00
Jane Tournois f3bfb53917 in refine(), replace facets_begin and facets_end by a range of facets 2015-03-09 16:52:05 +01:00
Andreas Fabri 6af7aaeebb introduce edge constraints based on the dihedral angle 2015-02-18 15:58:33 +01:00
Andreas Fabri b85d35d23f fix the return type 2015-02-18 10:52:33 +01:00
Andreas Fabri e1b2ce7c66 int -> std::size_t 2015-02-18 10:12:50 +01:00
Sébastien Loriot 4dfa9b234a remove unused variables 2015-02-18 09:51:34 +01:00
Andreas Fabri 066959623c WIP for making it work with Polyhedron 2015-02-18 09:39:52 +01:00
Andreas Fabri fef3ec4692 use BGL named parameters 2015-02-17 20:14:59 +01:00
Sébastien Loriot 24c47ae95d add missing typenames 2015-02-16 14:55:14 +01:00
Andreas Fabri e155ff9a75 first version of keep_largest_connected_component 2015-02-16 12:49:40 +01:00
Andreas Fabri 8277f73a2c Add connected_components without EdgeConstraintMap 2015-02-13 18:08:52 +01:00
Andreas Fabri 92e3482da4 Add high level function connected_component which uses boost::connected_component 2015-02-13 16:58:02 +01:00
Andreas Fabri f798355ce8 Add an example for the connected_component fct 2015-02-13 12:50:20 +01:00
Jane Tournois 093d27adce fix compilation of examples for Polygon_mesh_processing and Polyhedron demo
this implies adding a CMakeLists for examples so that Eigen is properly included
2015-01-16 12:43:03 +01:00
Sébastien Loriot c16d88dcb7 SUPERLU is out of the game now 2015-01-13 16:56:29 +01:00
Sébastien Loriot fc6f9368a0 move Hole Filling in the new Polygon Mesh Processing package 2015-01-06 11:37:25 +01:00