Mael Rouxel-Labbé
af075b2033
Remove assertion that can be triggered by numerical errors
2020-02-06 09:55:10 +01:00
Mael Rouxel-Labbé
f33618e5e8
Uniformize macros
2020-02-06 09:54:35 +01:00
Sébastien Loriot
ccfd82bfb9
improve doc and test
2020-02-05 19:09:08 +01:00
Mael
dca752395e
Remove assertion
2020-02-05 18:28:08 +01:00
Mael Rouxel-Labbé
e72756eb0a
Mini code cleaning
2020-02-05 18:11:26 +01:00
Mael Rouxel-Labbé
0bd5511803
Add some more verbosity
2020-02-05 18:11:10 +01:00
Mael Rouxel-Labbé
fb92ab7171
Do smoothing on an extracted mesh instead of the main mesh
...
The point is to avoid having to restore the initial mesh which is costly
and also difficult if the initial patch has non-manifoldness.
2020-02-05 18:09:51 +01:00
Mael Rouxel-Labbé
bd31fb8672
Fix compilation of polygon_mesh_to_PS
2020-02-05 18:08:54 +01:00
Mael Rouxel-Labbé
a2bdfd57c9
Never allow degenerate faces to be created in smoothing
...
Regardless of whether "safe moves only" is being used or not.
Degenerate faces are annoying because the normal is undefined (null_vector)
and then things get tricky.
The hope is that if a move would create a degenerate face, we can
just not move it, and hope that the degenerate face would not appear
on the next move.
2020-02-05 18:08:25 +01:00
Mael Rouxel-Labbé
238e18f002
Add polygon_mesh_to_polygon_soup (undocumented)
2020-02-05 15:32:22 +01:00
Mael Rouxel-Labbé
677ea630f8
Don't flip anything in weird situations
2020-02-05 11:32:40 +01:00
Mael Rouxel-Labbé
8773cee832
Minor code improvements
2020-02-05 10:54:11 +01:00
Mael Rouxel-Labbé
0c05fc6e80
More fixes for normal computations of meshes with degenerate faces
2020-02-04 16:02:03 +01:00
Mael Rouxel-Labbé
bbdc79f9b8
More fixes for normal computations of meshes with degenerate faces
2020-02-04 15:56:55 +01:00
Mael Rouxel-Labbé
33766800b6
Fix some corner cases with the new compute normals and degenerate faces
2020-02-04 14:29:08 +01:00
Mael Rouxel-Labbé
eec9b0b227
Fix corner case in sin weight normal computations
2020-02-04 14:29:03 +01:00
Mael Rouxel-Labbé
1a3f0cf982
Fix corner case in sin weight normal computations
2020-02-03 18:24:08 +01:00
Mael Rouxel-Labbé
81f04ac2d9
Move remove_self_intersections to PMP::experimental
2020-02-03 18:12:45 +01:00
Mael Rouxel-Labbé
6339e80f71
Remove Hausdorff checks, properly pass parameters, polish
2020-02-03 18:12:15 +01:00
Mael Rouxel-Labbé
38367410c3
Fix some corner cases with the new compute normals and degenerate faces
2020-02-03 18:10:41 +01:00
Mael Rouxel-Labbé
1eb323fcbd
Relax assertion due to numerical errors that can sneak in
...
Logically speaking, the vector nb is the bisector of ni and nj,
so ni.nb and nj.nb are positive by construction.
2020-02-03 17:40:38 +01:00
Mael
e9ca254a31
Fix using old BGL API
2020-02-03 13:27:46 +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
2632f96002
Fix value type
2020-02-03 12:11:41 +01:00
Mael
3f46d8cdd5
Merge branch 'master' into PMP-cc_remove_boost_call
2020-02-03 12:09:51 +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
65ee6f8744
remove unused variables and typedefs
2020-01-31 09:38:58 +01:00
Maxime Gimeno
a7527329ce
More fixes
2020-01-30 17:03:37 +01:00
Mael
8f29c7cb63
Merge branch 'master' into CGAL-Parallel_if_available_tag
2020-01-29 16:42:54 +01:00
Laurent Rineau
5fc7b97e32
Merge pull request #4468 from maxGimeno/TBB-Fix_deprecation_warnings-5_0-maxGimeno
...
TBB deprecated code replacement
2020-01-29 16:34:56 +01:00
Laurent Rineau
315a0b54d1
Merge pull request #4468 from maxGimeno/TBB-Fix_deprecation_warnings-5_0-maxGimeno
...
TBB deprecated code replacement
2020-01-29 16:27:53 +01:00
Mael Rouxel-Labbé
7f6bf9b3cb
Add skeletons for CGAL::read_PS, CGAL::read_PM, PMP::read_PM
2020-01-29 11:44:03 +01:00
Maxime Gimeno
6a7e89d3aa
use make_range()
2020-01-28 14:43:29 +01:00
Maxime Gimeno
28fa68d4f8
more boost::choose_param
2020-01-28 13:52:02 +01:00
Maxime Gimeno
67a5b4d8c5
more clean-up after review
2020-01-28 13:42:46 +01:00
Maxime Gimeno
fb898e4cfa
fix license
2020-01-28 10:44:36 +01:00
Maxime Gimeno
438826380d
Clean-up after review
2020-01-28 10:44:36 +01:00
Maxime Gimeno
82f0f86733
Fixes and example
2020-01-28 10:44:23 +01:00
Maxime Gimeno
19a77a50ef
Finish doc
2020-01-28 10:41:52 +01:00
Maxime Gimeno
c9b233903c
Update licenses
2020-01-28 10:41:52 +01:00
Maxime Gimeno
1e4c694b06
Fix doc
2020-01-28 10:41:52 +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
55194a70af
TM->PM
2020-01-28 10:41:52 +01:00
Sébastien Loriot
1c48a0e05b
remove useless condition from a previous test
2020-01-28 10:41:52 +01:00
Sébastien Loriot
8f28d04b9d
cosmetic fixes
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
b1311fbdb3
Add a new PMP_np
2020-01-28 10:41:43 +01:00
Maxime Gimeno
9ce0040527
Add the 3 functions
2020-01-28 10:38:17 +01:00
Maxime Gimeno
cba53c4937
WIP
2020-01-28 10:38:17 +01:00
Maxime Gimeno
c45fe2bbd3
fix boost::get_param()
2020-01-28 09:58:35 +01:00