Mael
e33fa57213
Use new tag in PMP tests
2020-02-04 18:15:04 +01:00
Mael Rouxel-Labbé
55afaf713f
Add some tests of meshes with degeneracies
2020-02-04 16:01:39 +01:00
Mael Rouxel-Labbé
20ed45589f
Add some tests of meshes with degeneracies
2020-02-04 15:58:00 +01:00
Mael
7ff12d67cb
Tiny test verbose change (std::flush to std::endl)
2020-02-04 12:17:50 +01:00
Mael Rouxel-Labbé
a9f29a51d9
Tests improvements
2020-02-03 18:13:05 +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
Maxime Gimeno
13b2c0201e
Merge remote-tracking branch 'cgal/master' into PMP-volume_segmentation
2020-01-31 15:05:51 +01:00
Maxime Gimeno
67a5b4d8c5
more clean-up after review
2020-01-28 13:42:46 +01:00
Maxime Gimeno
8ca28b8398
Move soup orientation functions to a new header to avoid new unwanted dependencies
2020-01-28 10:41:52 +01:00
Sébastien Loriot
7e41a19d41
extend the code to handle more than cycles entirely matching
2020-01-28 10:41:52 +01:00
Maxime Gimeno
9ce0040527
Add the 3 functions
2020-01-28 10:38:17 +01:00
Maxime Gimeno
1f0d062c10
Merge remote-tracking branch 'cgal/master' into PMP-Add_split_to_clip-GF
2020-01-27 12:51:26 +01:00
Laurent Rineau
2c5826dd6f
Merge pull request #4474 from sloriot/CGAL-warning_macro
...
Update warning macro usages
# Conflicts:
# Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Hole_filling/Triangulate_hole_polyline.h
2020-01-17 16:29:49 +01:00
Laurent Rineau
fe91249ac4
Merge pull request #4474 from sloriot/CGAL-warning_macro
...
Update warning macro usages
# Conflicts:
# Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Hole_filling/Triangulate_hole_polyline.h
2020-01-17 16:27:13 +01:00
Sébastien Loriot
d97795ef8b
use CGAL_error_msg
2020-01-16 14:19:32 +01:00
Mael Rouxel-Labbé
4432031bbf
Halfedges_comparator > halfedges_keeper + functor returns kept halfedge
2020-01-16 11:45:26 +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é
f80626749f
Merge branch 'PMP-Halfedge_comparer_for_stitch_borders-GF-old' into PMP-Halfedge_comparer_for_stitch_borders-GF
2020-01-15 18:04:28 +01:00
Mael Rouxel-Labbé
24aa901970
Rename the halfedges comparator
2020-01-15 18:01:25 +01:00
Laurent Rineau
ed4cf46ee0
Merge pull request #4065 from MaelRL/PMP-New_vertex_normal_computations-GF
...
PMP: add a new way to compute vertex normals
2020-01-15 17:24:02 +01:00
Laurent Rineau
631e383e20
Merge pull request #4132 from MaelRL/PMP-Remove_small_CCs
...
PMP: remove small connected components
2020-01-15 17:24:00 +01:00
Mael Rouxel-Labbé
c09741f1f2
Improve PMP::stitching tests
2020-01-15 13:25:09 +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é
bf43be4bf9
Update tests to use new API
2020-01-15 10:32:36 +01:00
Mael Rouxel-Labbé
92087b5e88
Minor debug code cleaning
2020-01-15 10:27:56 +01:00
Mael Rouxel-Labbé
6dce5f3115
Disable tests using EPECK (for performance reasons)
2020-01-06 11:05:00 +01:00
Mael Rouxel-Labbé
eeeb5929ca
Clean debug code
2020-01-06 10:53:51 +01:00
Mael Rouxel-Labbé
e388e63e0b
Require Core for PMP/test/pmp_compute_normals_test
2020-01-06 10:53:13 +01: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 Rouxel-Labbé
1513752559
Switch the test to exact square root computations
2020-01-02 09:33:41 +01:00
Mael Rouxel-Labbé
b005350f37
more debug code, exact 32bit doesn't seem deterministic
2019-12-30 11:25:21 +01:00
Mael
0f4986f82b
Merge branch 'master' into PMP-New_vertex_normal_computations-GF
2019-12-26 19:37:59 +01:00
Sébastien Loriot
e80f869147
Merge remote-tracking branch 'cgal/master'
2019-12-20 09:35:45 +01:00
Mael
79756e56cd
Disable tests that work (tmp - will be removed)
2019-12-18 09:10:43 +01:00
Sébastien Loriot
d46eb99644
add clipping overload to a iso-cuboid
2019-12-13 08:32:48 +01:00
Mael Rouxel-Labbé
257ad60fef
More debug code to understand Debian 32
2019-12-12 09:42:03 +01:00
Mael
7db5153f6d
Merge branch 'master' into PMP-Remove_small_CCs
2019-12-05 12:19:31 +01:00
Laurent Rineau
80ef3b832c
Merge pull request #4175 from MaelRL/PMP-Stitch_borders_returns_number_of_stitched_pairs-GF
...
PMP: stitch borders returns number of stitched pairs
2019-12-05 11:05:44 +01:00
Laurent Rineau
2589d55c05
Merge pull request #4254 from MaelRL/PMP-Remove_needles_and_caps-GF
...
Add experimental code to remove needles and caps using flips and collapses
2019-12-05 11:05:25 +01:00
Mael
f01f25234b
Merge branch 'master' into PMP-Stitch_borders_returns_number_of_stitched_pairs-GF
2019-12-02 16:25:43 +01:00
Mael Rouxel-Labbé
783d5df98c
TMP DEBUG CODE
2019-11-28 18:39:28 +01:00
Mael Rouxel-Labbé
0ddece5c81
Try to fix some weird assertion in a 32 bit test
2019-11-25 09:43:41 +01:00
Mael Rouxel-Labbé
9ef1c976c6
Use one of the tests of self_intersection.h to test the parallel tags
2019-11-19 12:51:36 +01:00
Mael
dff631f2bf
Fix namespace
2019-11-15 10:14:21 +01:00
Mael Rouxel-Labbé
3b738f0e95
Fix broken edge-case in keep_largest_CCs
...
Even if there's a single CC, a user may still want to keep 0 (who knows why,
but that's not the question).
Also, if number_to_keep == number_of_CCs, you can also exit early.
2019-11-12 11:05:03 +01:00
Mael Rouxel-Labbé
8657c8dc1b
Add more tests
2019-11-12 10:59:37 +01:00
Laurent Rineau
6a2e40f814
Merge pull request #4277 from MaelRL/PMP-Locate_rework_traits-GF
...
PMP: Replace `Location_traits` by a simpler API
2019-11-06 17:45:37 +01:00
Sébastien Loriot
b9a079b530
remove cpp11/cpp0x
2019-11-04 11:34:53 +01:00
Sébastien Loriot
9a0bff4008
remove BOOST_FOREACH added by recent PRs
2019-11-04 10:59:15 +01:00
Mael
4d1ae09d6d
Fix unused typedef warning
2019-10-30 09:58:23 +01:00
Mael Rouxel-Labbé
f058989e9b
Misc minor changes in tests
2019-10-28 14:38:46 +01:00
Mael
fe681a2edb
Merge branch 'master' into PMP-New_vertex_normal_computations-GF
2019-10-28 08:52:52 +01:00
Mael Rouxel-Labbé
0f7de56d76
Move a number of Named Parameter type extractor from CGAL::PMP:: to PMP::
...
These are used in a number of pacakges other than PMP and the code
is also already in /BGL. None are documented.
2019-10-17 12:41:30 +02:00
Mael Rouxel-Labbé
d9328b1131
Data file for PMP Location tests
2019-10-08 15:57:34 +02:00
Mael Rouxel-Labbé
22092a357a
Update tests of PMP::Locate (and fix some VPM usages)
2019-10-08 15:55:17 +02:00
Maxime Gimeno
a4947324e9
clean-up and new tests
2019-10-04 13:13:00 +02:00
Mael Rouxel-Labbé
e834971904
Minor code fixes
2019-10-01 13:03:43 +02:00
Maxime Gimeno
c42d1b3cfd
test the dry_run
2019-10-01 09:56:37 +02:00
Maxime Gimeno
1a429d03e4
Add dry_run to keep_large_components() and remove_connected_components_of_negligible_size9)
2019-10-01 09:47:00 +02:00
Maxime Gimeno
546be7aff7
Add a `dry_run` parameter to `keep_large_connected_components()`
2019-09-30 15:49:36 +02:00
Sébastien Loriot
6cedfac39a
move code to internal/experimental and example to test
...
also update test that was no longer compiling
2019-09-27 08:35:03 +02:00
Laurent Rineau
df99307140
Merge branch 'releases/CGAL-4.14-branch'
2019-09-09 16:48:23 +02:00
Laurent Rineau
9abee11ee8
Merge remote-tracking branch 'cgal/releases/CGAL-4.13-branch' into releases/CGAL-4.14-branch
2019-09-09 16:43:29 +02:00
Laurent Rineau
d00369432b
PMP: Fix ctestsuite ( #4128 )
...
PMP: Fix ctestsuite
2019-09-09 16:36:53 +02:00
Maxime Gimeno
5fdcb3c83e
Replace the hardcoded std::vector<> of the NPs by a more flexible concept, and add functions for copy.
2019-09-06 11:45:42 +02:00
Maxime Gimeno
0b71f00eb5
Add a bitset to foes_bound_a_volume and add a hidden test for all possible orientations of nested_cubes.
2019-09-05 14:27:36 +02:00
Maxime Gimeno
ccf338b9b7
Merge remote-tracking branch 'cgal/master' into PMP-volume_segmentation
2019-09-04 14:58:16 +02:00
Maxime Gimeno
d285d4aae2
Fix mechanism and adapt cc test for polyhedron with no id
2019-09-04 14:00:08 +02:00
Sébastien Loriot
a5e3841a14
reduce expression + improve test
2019-08-30 17:43:21 +02:00
Sébastien Loriot
7fd73c3919
use the new function to implement orient_to_bound_a_volume
...
the former implementation was recursive
this makes the implementation non-recursive
2019-08-30 17:25:21 +02:00
Sébastien Loriot
5fe1b43ce6
Merge pull request #4139 from MaelRL/PMP-Fix_duplicate_nm_vertices_5.0-GF
...
PMP: Fix improper halfedge incidence state in post non-manifold vertex duplication mesh (5.0)
2019-08-29 20:10:16 +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é
9ea2f668a6
Fix data file links
2019-08-26 13:19:40 +02:00
Mael Rouxel-Labbé
d9c73a1b35
Properly test the family of normal computation functions
2019-08-26 13:06:39 +02:00
Maxime Gimeno
cc5b9c7a8a
WIP
2019-08-23 15:40:02 +02:00
Sébastien Loriot
e4474d8c3b
set point to make sure there is a self-intersection
2019-08-23 11:57:49 +02:00
Mael Rouxel-Labbé
1b76d93a3d
Add new test data
2019-08-23 10:35:05 +02:00
Mael Rouxel-Labbé
a2e9731b36
Test remove_negligible_CCs more thoroughly
2019-08-23 09:25:20 +02:00
Mael Rouxel-Labbé
fad61974d6
Merge branch 'PMP-Remove_small_CCs-old' into PMP-Remove_small_CCs
2019-08-22 14:22:41 +02:00
Mael Rouxel-Labbé
b23151b598
Update stitch_borders() tests to verify that we stitched what was expected
2019-08-21 16:25:09 +02:00
Mael Rouxel-Labbé
0d77358328
Update to test to have a correct expected value
2019-08-21 16:06:23 +02:00
Sebastien Loriot
aca05d36fa
Merge pull request #4119 from sloriot/CGAL-named_function_parameters-5.0
...
Named function parameters (5.0)
2019-08-08 10:10:45 +02:00
Sebastien Loriot
05e894cd04
Merge pull request #4118 from sloriot/CGAL-named_function_parameters-4.14
...
Named function parameters (4.14)
2019-08-08 10:05:41 +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
Mael Rouxel-Labbé
9e31af2c03
Add a rather complicated non-manifold vertex duplication test
2019-08-05 16:07:02 +02:00
Mael Rouxel-Labbé
4473969350
Add new data file to repair (isolated points / nm vertices / self intersections)
...
Thanks to @jasjuang
2019-08-05 16:05:33 +02:00
Mael Rouxel-Labbé
2d86794b27
Add some tests for remove_negligible_ccs
2019-08-02 09:05:46 +02:00
Laurent Rineau
e4de2060e9
Merge branch 'releases/CGAL-4.14-branch'
2019-08-01 17:08:37 +02:00
Maxime Gimeno
15fd5ce293
Lock resources between the 2 triangulate_hole tests to prevent the results from generate_mesh_with_hole to be cleaned before the end.
2019-08-01 14:25:20 +02:00
Maxime Gimeno
0b62d59110
Use a correct way to reset the stringstream
2019-07-31 10:27:03 +02:00
Sébastien Loriot
25a05e9f4c
Merge branch 'CGAL-named_function_parameters-4.14' into master
...
Conflicts resolved by hand
2019-07-28 23:46:43 +02:00
Sébastien Loriot
2f81a21523
Merge 'CGAL-named_function_parameters' for 4.13-branch into 4.14-branch
...
Conflicts resolved by hand
2019-07-28 22:30:13 +02:00
Sébastien Loriot
41ef56f8ad
Merge remote-tracking branch 'cgal/releases/CGAL-4.14-branch' into HEAD
2019-07-18 16:57:27 +02:00
Sébastien Loriot
c411ae69d0
Merge pull request #2951 from kkatrio/PMP-smoothing-kkatrio
...
PMP: Mesh and shape smoothing
2019-07-18 16:49:05 +02:00
Sebastien Loriot
0c089d6f91
Merge pull request #3721 from sloriot/PMP-clip_fixes
...
Fixes for clipping
2019-07-18 16:28:44 +02:00
Sébastien Loriot
cebf0657d8
Use a full CGAL version of named function parameters
...
no longer rely on boost
2019-07-14 22:45:47 +02:00
Sébastien Loriot
ae2b242071
fix misleading indentation
2019-07-12 13:13:33 +02:00
Mael Rouxel-Labbé
5ba3cd8123
Enforce correct precision on 32 bit platforms
2019-07-11 11:49:30 +02:00
Sébastien Loriot
f1e2bf702c
improve code + make sure in tests that halfedges are correctly linked
2019-07-11 09:38:23 +02:00
Sébastien Loriot
89a9ff34e7
add missing files
2019-07-10 14:01:07 +02:00
Mael Rouxel-Labbé
26ecd80237
Increase tolerance furthermore + temporary debug code
2019-07-09 16:21:06 +02:00
Mael Rouxel-Labbé
f7576c709b
Disable test of PMP::Locate with 2D Surface Mesh until Surface_Mesh IO is fixed
2019-07-08 16:03:31 +02:00
Maxime Gimeno
0989cdd390
Merge remote-tracking branch 'cgal/master' into PMP-Add_split_to_clip-GF
2019-07-04 11:23:20 +02:00
Sébastien Loriot
363268c33f
handle intersecting curves reaching the boundary
2019-07-03 17:16:21 +02:00
Sébastien Loriot
9f14c410b9
fix split (only for the case of closed curves)
2019-07-03 15:50:35 +02:00
Mael Rouxel-Labbé
f03c3bf129
Sanitize values for 32 bit platforms
2019-07-03 09:07:57 +02:00
Maxime Gimeno
be3cf6145d
use const_types
2019-07-02 11:52:49 +02:00
Maxime Gimeno
ee715bca1a
Make the PolygonMesh const in split_cc()
2019-07-02 11:32:34 +02:00
Maxime Gimeno
3c14046997
Replace outputiterator
2019-07-02 11:25:01 +02:00
Maxime Gimeno
0684986bd6
Put the splitting part in an internal function
2019-07-02 10:57:28 +02:00
Maxime Gimeno
9f8feddf79
WIP fixed split_connected_components map management. Still failing after a split().
2019-07-02 10:18:51 +02:00
Sébastien Loriot
48bf1cbf05
add tests
2019-07-02 08:38:03 +02:00
Maxime Gimeno
031bd91b8d
Remove isolated vertices
2019-07-01 16:15:44 +02:00
Mael Rouxel-Labbé
f68141a6d3
Merge branch 'PMP-Locate-GF-old' into PMP-Locate-GF
2019-07-01 11:28:25 +02:00
Mael
f40f8e4190
Merge branch 'master' into PMP-smoothing-kkatrio
2019-07-01 11:24:11 +02:00
Laurent Rineau
32f80cbece
Merge pull request #4018 from lrineau/CGAL-refresh_cmake_minimum_required-GF
...
CMake>=3.13: opt for for new policies up to 3.15
2019-07-01 11:16:30 +02:00
Mael Rouxel-Labbé
ee99c92972
Sanitize values to please 32 bit platforms
2019-07-01 09:14:04 +02:00
Mael Rouxel-Labbé
b1b55a8995
Fix unused variable warnings
2019-07-01 08:45:35 +02:00
Mael Rouxel-Labbé
6ec8e9a063
Use 'assert()' in test, not CGAL assertions
2019-06-28 17:43:27 +02:00
Maxime Gimeno
e999183e94
- WIP split_cc() : Ecm management
...
- WIP split() : TODO: copy_face_graph leads to infinite loop.
2019-06-27 16:07:02 +02:00
Mael Rouxel-Labbé
1791870f4c
Fix warning
2019-06-26 15:51:27 +02:00
Maxime Gimeno
ea47ab2259
WIP split_connected_components
2019-06-26 14:22:31 +02:00
Maxime Gimeno
eb97c83261
Finished basic splitting. WIP clip_volume
2019-06-26 13:05:31 +02:00
Mael Rouxel-Labbé
d3882274e5
Change test values to be compatible with 32 bit platforms
2019-06-26 08:12:17 +02:00
Maxime Gimeno
184922b578
WIP set connectivity
2019-06-25 17:26:21 +02:00
Mael Rouxel-Labbé
40aae43c5d
Fix warning
2019-06-25 09:21:31 +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é
0d1759e996
Merge branch 'PMP-smoothing-kkatrio-old' into PMP-smoothing-kkatrio
2019-06-20 15:02:32 +02:00
Mael Rouxel-Labbé
7a5486962d
Merge branch 'PMP-Locate-GF-old' into PMP-Locate-GF
2019-06-20 14:49:25 +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é
f15fbfe36c
Fix some tests failing when unlucky with random elements
2019-06-20 10:39:02 +02:00
Mael Rouxel-Labbé
52478f0751
Tiny verbose to tests
2019-06-19 14:40:04 +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
Maxime Gimeno
1958e14728
Add a first draw of splitting in clip.h
2019-06-19 12:37:52 +02:00
Mael Rouxel-Labbé
77711e4e71
Merge branch 'PMP-smoothing-kkatrio-old' into PMP-smoothing-kkatrio
2019-06-19 11:34:48 +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
Maxime Gimeno
064ef07a77
WIP split()
2019-06-18 16:02:14 +02:00
Mael Rouxel-Labbé
7f6cb0411c
Merge branch 'PMP-Locate-GF-old' into PMP-Locate-GF
2019-06-18 08:20:16 +02:00
Mael Rouxel-Labbé
19de8eda04
Merge branch 'PMP-Generalize_keep_largest_CC-GF-old' into PMP-Generalize_keep_largest_CC-GF
2019-06-17 15:18:33 +02:00
Laurent Rineau
e4353afb13
Merge pull request #3861 from MaelRL/PMP-Add_stitch_boundary_cycle_singular-GF
...
PMP: Introduce `stitch_boundary_cycle`
2019-06-17 13:54:39 +02:00
Mael Rouxel-Labbé
6d1ee29280
Add missing data files
2019-06-14 08:48:07 +02:00
Mael Rouxel-Labbé
55cede0960
Remove duplicated typedefs
...
That compiled on my machine, but not on the Fedora testsuites...?
2019-06-10 10:39:34 +02:00
Mael Rouxel-Labbé
33b9cde8dc
Fix PMP smoothing tests
2019-06-07 14:20:47 +02:00
Mael Rouxel-Labbé
1aaba3a275
Misc minor changes
2019-06-07 13:54:24 +02:00
Mael Rouxel-Labbé
6c4d873338
Get rid of the explicit curvature flow smoothing scheme
...
It's just worse all the time anyway
2019-06-07 10:27:21 +02:00
Mael Rouxel-Labbé
bd7fd4a91e
Clean useless code
2019-06-05 10:39:08 +02:00
Mael Rouxel-Labbé
7beeb16f05
Partial clean/fix of shape smoothing tests/demo
2019-06-04 17:02:11 +02:00
Mael Rouxel-Labbé
54260a934f
CGAL_assertion ----> assert in tests
2019-05-20 12:52:48 +02:00