Commit Graph

1223 Commits

Author SHA1 Message Date
Sébastien Loriot efbd86df7f extra manual fixes 2021-10-05 17:42:21 +02:00
Jane Tournois 276ea18313 formatting (Mael's review) 2021-10-05 11:12:49 +02:00
Sébastien Loriot 6dad5b6922 rename file 2021-10-04 11:00:40 +02:00
Sébastien Loriot b5e7d03634 fix runtime issues 2021-10-04 10:22:13 +02:00
Sébastien Loriot 8350dea94a char* -> std::string 2021-10-04 09:49:24 +02:00
Sébastien Loriot 47028cd184 automatically move data files in data dir + update paths
Done for OFF/OBJ/STL/XYZ/PWN/PLY
2021-10-04 09:42:49 +02:00
Laurent Rineau 804feece28 Merge pull request #5761 from danston/Weights-unification-danston
[Small Feature] Weights Unification
2021-09-29 16:59:34 +02:00
Laurent Rineau 7e42541573 Merge pull request #5633 from sloriot/PMP-add_filter_for_caps_needles
Add a filter in function to remove caps/needle
2021-09-29 11:46:47 +02:00
Laurent Rineau e87bf84395 Merge pull request #5994 from MaelRL/PMP-Detect_sharp_edges_const-GF
Enhancements & fixes for PMP::detect_features
2021-09-29 11:46:41 +02:00
Laurent Rineau b19086946c Merge pull request #5994 from MaelRL/PMP-Detect_sharp_edges_const-GF
Enhancements & fixes for PMP::detect_features
2021-09-29 11:45:38 +02:00
Jane Tournois 6357211695 deprecate smooth_mesh() and rename it angle_and_area_smoothing() 2021-09-27 17:05:14 +02:00
Sébastien Loriot f632a11d0d fix invalid OFF headers 2021-09-23 18:56:15 +02:00
Laurent Rineau 8cdfc3b214 Merge pull request #5941 from afabri/PMP-edge_lenght_area-GF
Polygon Mesh Processing:  Add measure functions not using sqrt
2021-09-20 17:07:09 +02:00
Jane Tournois 752b5885aa add a test 2021-09-17 14:43:01 +02:00
Mael Rouxel-Labbé fd12c73cba Enhance tests 2021-09-15 14:59:40 +02:00
Sébastien Loriot 2337757ce4 add a way to pass functions to build local filters ...
...  created from link faces of edges to be flipped or collapsed
2021-09-14 21:43:41 +02:00
Mael Rouxel-Labbé 08ab4a1c3a Make test failures easier to understand 2021-09-13 16:47:34 +02:00
Sebastien Loriot 4610cf3c66
Merge pull request #5904 from sloriot/CGAL-remove_config_flags
Replace macros with inline functions and remove a config flag
2021-09-10 17:38:50 +02:00
Sébastien Loriot 4afc249100 do not hide type definitions 2021-09-09 15:58:00 +02:00
Sébastien Loriot 64738572f8 Merge remote-tracking branch 'cgal/5.3.x-branch' 2021-09-06 18:53:55 +02:00
Sébastien Loriot 75ca34c2a5 Merge remote-tracking branch 'cgal/5.2.x-branch' into HEAD 2021-09-06 18:52:40 +02:00
Sébastien Loriot 000b03b595 follow up of #5889
cherry-picking for autorefinement
2021-09-06 18:44:07 +02:00
Sébastien Loriot d82ca80d04 add a filter in function to remove caps/needle to be able to plug envelope 2021-08-31 15:52:47 +02:00
Andreas Fabri e40cbc0ff5 Fixes after Mael's review 2021-08-31 10:07:44 +01:00
Dmitry Anisimov 60804d738e Merge remote-tracking branch 'origin/master' into Weights-unification-danston 2021-08-14 18:34:47 +02:00
Sébastien Loriot 038c57fb6a Merge pull request #5837 from maxGimeno/PMP-Self_intersections_limited_report-maxGImeno
PMP: Limited Number of Self-intersections
2021-08-13 18:23:20 +02:00
Sébastien Loriot e16e75c273 Merge pull request #5861 from sloriot/PMP-coref_vertex_visitor
Add vertex related functions in corefinement visitor
2021-08-13 18:17:39 +02:00
Dmitry Anisimov c975eddf13 Merge remote-tracking branch 'origin/master' into Weights-unification-danston 2021-08-12 13:29:26 +02:00
Sébastien Loriot 814c9138ef Merge remote-tracking branch 'cgal/5.3.x-branch' 2021-08-12 10:38:11 +02:00
Sébastien Loriot cff3cdb40e Merge remote-tracking branch 'cgal/5.2.x-branch' into HEAD 2021-08-12 10:23:57 +02:00
Maxime Gimeno 7345cf1318 Merge remote-tracking branch 'cgal/master' into PMP-Self_intersections_limited_report-maxGImeno 2021-08-11 15:31:20 +02:00
Dmitry Anisimov 4126a5feec
Merge branch 'master' into Weights-unification-danston 2021-08-04 13:58:33 +02:00
Sébastien Loriot 9dc3f84d73 try to workaround non-determinism 2021-08-03 14:25:50 +02:00
Sébastien Loriot 10ed1a058e add more tests 2021-07-29 17:22:37 +02:00
Sébastien Loriot 743a5fc29e add split case with a plane containing border edges 2021-07-29 13:21:16 +02:00
Maxime Gimeno e83dc8775d fixes after review 2021-07-23 15:13:33 +02:00
Sébastien Loriot 61ab2c1ed9 fix conversion warning 2021-07-22 11:28:28 +02:00
Sébastien Loriot fa826dbe49 add some tests for the visitor 2021-07-21 17:04:21 +02:00
Sébastien Loriot 6e52c99202 remove isolated vertices 2021-07-21 17:02:31 +02:00
Sébastien Loriot d8a375bada generate the refine version of blobby 2021-07-20 21:41:54 +02:00
Sébastien Loriot 7fbec6faaa do not test the paper bench 2021-07-20 21:04:00 +02:00
Sébastien Loriot 6bd71a349f fix test 2021-07-20 20:55:10 +02:00
Sébastien Loriot 429446dda6 if test if TBB is not be available 2021-07-15 15:19:23 +02:00
Maxime Gimeno 03a1639eff Replace NP name 2021-07-09 14:37:21 +02:00
Maxime Gimeno 38d1246c28 Function and tests written, need better doc and functor for sequential 2021-07-07 13:19:14 +02:00
Dmitry Anisimov ad6a7183c5 added missing IO ns 2021-06-18 14:47:32 +02:00
Dmitry Anisimov aaf55dbaa0 Merge remote-tracking branch 'maxGimeno/PMP-compare_faces_from_meshes-maxGimeno' into gsoc2019-PMPHDist-martinskrodzki 2021-06-18 14:45:24 +02:00
Dmitry Anisimov 859bae9036 sebastien review 2021-06-18 14:44:09 +02:00
Dmitry Anisimov aac86cb4d4 pmp, refactoring internal weights representation 2021-06-09 12:23:14 +02:00
Dmitry Anisimov 4fa2463fea pmp, renamed weight wrappers 2021-06-04 13:46:42 +02:00
Dmitry Anisimov 8aa246b97e pmp, factoring out the uniform weight fairing 2021-06-04 12:29:42 +02:00
Dmitry Anisimov 2a6aaddd8f updated weights in the pmp package 2021-06-03 11:33:18 +02:00
Maxime Gimeno c6c540503c changes after review 2 2021-05-26 12:36:59 +02:00
Maxime Gimeno 553445a771 Changes after review 1 2021-05-26 11:16:09 +02:00
Maxime Gimeno acd6bb3c57 Fix namespace and remove unused typedef 2021-05-20 09:00:29 +02:00
Maxime Gimeno 797c5ad08b Merge remote-tracking branch 'cgal/master' into PMP-compare_faces_from_meshes-maxGimeno 2021-05-20 08:58:24 +02:00
Laurent Rineau e222e772f1 Merge pull request #5589 from MaelRL/Number_types-Fix_approx_sqrt_mpq-GF
Fix approximate_sqrt return types

# Conflicts:
#	Polygon_mesh_processing/test/Polygon_mesh_processing/test_pmp_distance.cpp
2021-05-18 18:16:44 +02:00
Laurent Rineau 26ad68e486 Merge pull request #5649 from sloriot/CGAL-no_boost_shared_ptr
Replace internal use of boost shared_ptr
2021-05-18 18:14:12 +02:00
Laurent Rineau 1ac4c2903a Merge pull request #5589 from MaelRL/Number_types-Fix_approx_sqrt_mpq-GF
Fix approximate_sqrt return types
2021-05-18 17:32:26 +02:00
Laurent Rineau 49aff67985 Merge pull request #5689 from janetournois/PMP-isotropic_remeshing_fixes-jtournois
PMP::isotropic_remeshing - fixes about "isolated constraints"

# Conflicts:
#	Polygon_mesh_processing/test/Polygon_mesh_processing/CMakeLists.txt
2021-05-18 17:31:55 +02:00
Laurent Rineau e0a4dd0680 Merge pull request #5677 from sloriot/CGAL-IO_namespace
CGAL IO namespace

# Conflicts:
#	Installation/test/Installation/test_gmp_mpfr_dll.cpp
2021-05-18 17:31:40 +02:00
Laurent Rineau b33a2f17bd Merge pull request #5689 from janetournois/PMP-isotropic_remeshing_fixes-jtournois
PMP::isotropic_remeshing - fixes about "isolated constraints"

# Conflicts:
#	Polygon_mesh_processing/test/Polygon_mesh_processing/CMakeLists.txt
2021-05-18 17:06:45 +02:00
Dmitry Anisimov 6ae21a4379 added visitor to save pairs of realizing triangles 2021-05-11 17:38:15 +02:00
Dmitry Anisimov 5686252475 is_further_than function finished 2021-05-11 16:11:42 +02:00
Dmitry Anisimov 73e9e867c2 added early quit option to accelerate distance vs user defined distance check 2021-05-11 14:18:49 +02:00
Dmitry Anisimov acce02aae3 do not build if inf value < 0 and added distance_bound, not finished 2021-05-11 12:39:38 +02:00
Dmitry Anisimov 77c2dc4d96 testing early quit 2021-05-10 13:15:09 +02:00
Dmitry Anisimov 80c776c298 added functions are_within_tolerance, not finished, fixing max funcs in naive 2021-05-09 17:02:35 +02:00
Dmitry Anisimov dbfca54358 hide the parallel version behind ifdefs 2021-05-09 16:08:42 +02:00
Jane Tournois 14385aaf15 add a test with isolated constraints, on and away from mesh borders 2021-05-06 17:48:39 +02:00
Dmitry Anisimov c4e23b5ced tested with different concurrency tags, cleanup, added empty test for the new function 2021-05-05 15:29:48 +02:00
Dmitry Anisimov 13ef4342d1 fixing build errors when tbb and/or metis is unavailable 2021-05-05 13:43:31 +02:00
Sébastien Loriot 4e519a3c7a move documented IO functions in IO namespace 2021-05-05 13:15:37 +02:00
Dmitry Anisimov 7d0ae6b13d testing bunny dense 2021-05-04 17:19:12 +02:00
Dmitry Anisimov e3c693caac optimized one-sided parallel version 2021-05-04 15:58:17 +02:00
Sébastien Loriot fb6f703b55 IO namespace for files in IO directories 2021-05-04 14:36:06 +02:00
Dmitry Anisimov 27cc88524d fixed parallel preprocessing, computation is still buggy 2021-05-04 13:23:13 +02:00
Dmitry Anisimov 74f5d8af05 added one-sided parallel hausdorff distance, still with the seg fault 2021-05-03 18:17:41 +02:00
Dmitry Anisimov b31201294b cleanup 2021-05-03 15:46:12 +02:00
Dmitry Anisimov bafc127499 cout a few more timings for parallel version 2021-05-03 14:53:04 +02:00
Dmitry Anisimov 887a715a26 added naive parallel version 2021-05-03 14:22:14 +02:00
Dmitry Anisimov 482bc457e4 added test for parallel version + METIS partition of tm1 and partially filtered face graph 2021-04-30 17:16:15 +02:00
Dmitry Anisimov f158e3e5eb added symmetric distance, it is approx 2 times faster than naive version 2021-04-30 16:14:19 +02:00
Dmitry Anisimov c78c4d2963 all preprocessing steps are moved to their own function 2021-04-30 14:51:14 +02:00
Dmitry Anisimov 5d77b22f7a changed sqrt to approximate sqrt 2021-04-30 10:25:22 +02:00
Dmitry Anisimov 7fd291c588 added input-dependent infinity value + assertions 2021-04-29 17:43:00 +02:00
Dmitry Anisimov 1f114461c4 removed return with realizing triangles + added naive version of symmetric distance 2021-04-28 17:14:22 +02:00
Dmitry Anisimov b45de72547 tested bbox comparisons but I do not think we can use them so they are off 2021-04-28 15:23:35 +02:00
Dmitry Anisimov 4ce1370043 tested group traversal, its sequential version is slower due to more candidate triangles 2021-04-28 11:37:49 +02:00
Sébastien Loriot 1faa0e2992 replace internal use of boost::shared_ptr by std::shared_ptr 2021-04-28 10:55:26 +02:00
Dmitry Anisimov a2f460c9d6 Merge branch 'master' into gsoc2019-PMPHDist-martinskrodzki 2021-04-27 18:37:32 +02:00
Dmitry Anisimov 85f88c218a added inexact check with distances + more precise realizing triangles 2021-04-27 18:25:58 +02:00
Dmitry Anisimov 860cad669a added tighter bounds, changed std min/max to CGAL one, added missing realizing triangles 2021-04-27 16:46:02 +02:00
Dmitry Anisimov 930d364c3f face to triangle map made global 2021-04-27 12:43:47 +02:00
Dmitry Anisimov 95ab1a57a0 tests moved to the test folder 2021-04-27 11:22:55 +02:00
Sebastien Loriot fa4a31a87b
Merge pull request #5583 from sloriot/PMP-face_epsilon_map
Polyhedral_envelope: face epsilon map
2021-04-21 15:26:48 +02:00
Mael Rouxel-Labbé c489b7ffa5 Add missing Coercion_traits specialization for custom FT in PMP test 2021-04-20 15:59:29 +02:00
Sebastien Loriot b7323389c7
Merge pull request #5622 from maxGimeno/CMake-Update_versions_in_scripts-maxGimeno
Update maximum cmake versions
2021-04-17 10:58:14 +02:00
Sébastien Loriot 4436fd62a5 Merge pull request #5266 from janetournois/PMP-isotropic_remeshing_collapse_step-jtournois
PMP isotropic_remeshing() - improve edge flip step
2021-04-17 10:51:15 +02:00
Maxime Gimeno c49152359c update max version of cmake and announce the new minimal in CHANGE.md 2021-04-15 15:08:54 +02:00
Jane Tournois 371706e92a Merge remote-tracking branch 'cgal/master' into PMP-isotropic_remeshing_collapse_step-jtournois
# Conflicts:
#	Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Isotropic_remeshing/remesh_impl.h
2021-04-08 11:11:51 +02:00
Sébastien Loriot 667817ece0 test new API 2021-04-07 15:27:56 +02:00
Dmitry Anisimov dfd2e15066 Merge remote-tracking branch 'maxGimeno/PMP-compare_faces_from_meshes-maxGimeno' into gsoc2019-PMPHDist-martinskrodzki 2021-04-07 13:54:02 +02:00
Maxime Gimeno 17602e589e Merge remote-tracking branch 'cgal/master' into CGAL-clang_tidy__nullptr_on_Mesh_2-GF 2021-04-07 09:17:51 +02:00
Laurent Rineau d46dcec5e5 Merge pull request #5510 from pentacular/wasm
Round-to-nearest support for intervals
2021-04-06 15:13:09 +02:00
Laurent Rineau 8247232cf1 Merge pull request #5535 from sloriot/CGAL-more_cmake_support_files
Add more cmake support files
2021-04-06 15:13:04 +02:00
Maxime Gimeno 34e2180b22 rename match_faces 2021-04-01 13:50:41 +02:00
Sébastien Loriot f4a79aebd8 catch const ref 2021-03-31 14:12:43 +02:00
Maxime Gimeno 9e6eaa504a Orientation requirements always on, as it won't work without it on non triangle meshes 2021-03-23 13:43:49 +01:00
Maxime Gimeno f4da3182d7 add new tests 2021-03-23 12:04:25 +01:00
Maxime Gimeno dd90a3ce84 OutputIterators 2021-03-23 10:17:39 +01:00
Maxime Gimeno 27701711e7 Only 2 loops for faces 2021-03-23 09:25:06 +01:00
Maxime Gimeno 7d4a661671 Overloads, plugin and data sets 2021-03-22 14:59:01 +01:00
Maxime Gimeno 67aaf04a0a doc + example + tests 2021-03-22 14:02:18 +01:00
Brian Spilsbury b05f6061ab Merge branch 'master' into wasm 2021-03-20 17:57:57 +09:00
Sébastien Loriot ac15312260 add Ceres support cmake file 2021-03-18 14:47:56 +01:00
Sébastien Loriot a177ed01a4 fix warnings 2021-03-04 09:34:56 +01:00
Sébastien Loriot a4669bc39f Merge remote-tracking branch 'cgal/master' into HEAD 2021-03-04 09:34:26 +01:00
Sebastien Loriot ec8bfa577a
missing typename 2021-03-04 09:02:33 +01:00
Laurent Rineau adc8d9b686 Merge pull request #5442 from MaelRL/PMP-stitch_borders_reintroduce_zipping-GF
Re-introduce some kind of zipping as a first step to boundary cycle stitching
2021-03-03 17:29:45 +01:00
Brian Spilsbury d3d24faf04 Add tests 2021-03-03 19:45:40 +09:00
Mael Rouxel-Labbé abe1f6e577 Misc cleaning 2021-02-22 16:51:35 +01:00
Sébastien Loriot 20661527bd Merge branch 'martinskrodzki/gsoc2019-PMPHDist-martinskrodzki' into master 2021-02-19 10:58:11 +01:00
Laurent Rineau 1a040c8552
Merge pull request #4749 from danston/Polygon_mesh_processing-triangulate_hole_with_cdt2-danston 2021-02-19 07:59:59 +01:00
Laurent Rineau c70da09776 Merge pull request #5049 from sloriot/PMP-corefine_non_manifold
corefine with non manifold edges
2021-02-18 15:26:56 +01:00
Maxime Gimeno d5811d0a41 clang-tidy on tests 2021-02-18 15:15:12 +01:00
Mael Rouxel-Labbé 1b01b67c86 Added a test for zipping-based boundary cycle stitching 2021-02-08 15:54:52 +01:00
Maxime Gimeno 98ffbba648 Fix warning 2021-02-02 14:55:50 +01:00
Sébastien Loriot 71ae816bfa Merge remote-tracking branch 'cgal/master' into PMP-corefine_non_manifold 2021-01-27 13:46:09 +01:00
Dmitry Anisimov 3551d0224b fixed IO interface + the bug with misplaced assertions 2021-01-26 10:38:03 +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
Dmitry Anisimov f7abb6c343
Merge branch 'master' into Polygon_mesh_processing-triangulate_hole_with_cdt2-danston 2021-01-14 17:23:24 +01:00
Dmitry Anisimov c657451934
Merge branch 'master' into Polygon_mesh_processing-triangulate_hole_with_cdt2-danston 2021-01-14 10:38:51 +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
Laurent Rineau ec4768468f Merge pull request #5263 from MaelRL/PMP-Fix_remove_degenerate_edges_mutated_loop-GF
Fix multiples calls to degenerate_edges() with an invalid input range
2020-12-16 17:49:12 +01:00
Laurent Rineau f612716d34 Merge pull request #5263 from MaelRL/PMP-Fix_remove_degenerate_edges_mutated_loop-GF
Fix multiples calls to degenerate_edges() with an invalid input range
2020-12-16 17:47:50 +01:00
Mael Rouxel-Labbé 56ac58de41 Fix size conversion warning 2020-12-15 16:13:13 +01:00
Jane Tournois 087a2e04a9 introduce more testing to avoid self-intersections creation during remeshing 2020-12-11 15:27:26 +01:00
Maxime Gimeno 00edae2400 More fixes 2020-12-10 12:55:04 +01:00
Dmitry Anisimov c2085ea36c
Merge branch 'master' into Polygon_mesh_processing-triangulate_hole_with_cdt2-danston 2020-12-04 18:32:25 +01:00
Sébastien Loriot d5e2c05c42 test distance 2020-12-03 19:31:39 +01:00
Sébastien Loriot 1ead0a4642 add tests for Polyhedral_envelope API 2020-12-03 18:55:35 +01:00
Maxime Gimeno 61a0da3775 Fix timeout in release pmp tests 2020-12-01 15:38:49 +01:00
Sébastien Loriot cde45d2405 Merge remote-tracking branch 'cgal/master' into PMP-corefine_non_manifold 2020-11-27 10:22:24 +01:00
Sébastien Loriot d8499765a8 move undocumented feature to test 2020-11-25 16:32:20 +01:00
Maxime Gimeno 277b8cc74b Fix OFF_reading 2020-11-25 13:40:19 +01:00