Commit Graph

5500 Commits

Author SHA1 Message Date
Sébastien Loriot 898142d739 wrong type 2022-12-22 09:49:35 +01:00
Sébastien Loriot f993ad50c9 conditions of inconsistenit_classification() also apply to assertions 2022-12-19 17:43:12 +01:00
Sébastien Loriot f372bbe7c2 make smooth an option that is OFF by default 2022-12-19 14:35:16 +01:00
Mael Rouxel-Labbé 70efea3bcb Tiny code modernization 2022-12-16 16:28:53 +01:00
Mael Rouxel-Labbé 92bd00f612 Change PMP::refine() is_flippable criterion
The current criterion is some kind of Delaunay ball, which might work OK
for flat regions, but can produce super thin wedges (see issue:
https://github.com/CGAL/cgal/issues/6982) when the mesh is not flat.

The criterion used instead is the one used in PMP::isotropic_remeshing
and PMP::remove_almost_degenerate_faces(), which is the typical angle-based
surface Delaunay criterion.
2022-12-16 16:26:43 +01:00
Mael Rouxel-Labbé 52fc2ffdd4 Change criterion used in "should_flip"
The criterion that takes the scalar_product of the cross products
is maybe adapted to minimize the curvature when triangulating faces,
but should_flip() is used in PMP::isotropic_remeshing, (soon) PMP::refine(),
and PMP::remove_almost_degenerate_faces(). These algorithms aim to
produce well-shaped elements. The criterion is not adapted to these
algorithms: for example, on a flat mesh the scalar product is meaningless
so it will pick the diagonal which maximizes the product of the lengths
and product of sines, but this might create very anisotropic elements
since the sine of obtuse angles is still positive.

The "new" criterion is simply the criterion used in mesh smoothing
and the typical Delaunay criterion for surfaces.
2022-12-16 16:21:46 +01:00
Mael Rouxel-Labbé a798fb6803 Minor example improvements 2022-12-16 16:20:25 +01:00
Laurent Rineau f1e1878b8d
Merge pull request #7094 from afabri/PMP_named_parameters-GF
PMP: Replace parameter with named parameter
2022-12-16 10:52:17 +01:00
Sébastien Loriot 069e43a5da remove specific internal exclude list (covered with the general one) 2022-12-15 10:20:45 +01:00
Laurent Rineau c419f52799 Merge pull request #7103 from sloriot/PMP-repair_si_conditional_smoothing
Do not apply smoothing if the CC has some degenerate faces
2022-12-14 10:39:48 +01:00
Laurent Rineau f3e0f45054 Merge pull request #7108 from afabri/PMP-Envelope_warning-GF
PMP: Fix for a -Wmaybe-uninitialized
2022-12-14 10:39:45 +01:00
Laurent Rineau 46b1d230f5 Merge pull request #7103 from sloriot/PMP-repair_si_conditional_smoothing
Do not apply smoothing if the CC has some degenerate faces
2022-12-14 10:18:21 +01:00
Laurent Rineau 2b71438c04 Merge pull request #7108 from afabri/PMP-Envelope_warning-GF
PMP: Fix for a -Wmaybe-uninitialized
2022-12-14 10:18:19 +01:00
Andreas Fabri 39ebebdb5b merge master 2022-12-08 16:49:09 +00:00
Sebastien Loriot f5c41bd712
Merge pull request #7022 from MaelRL/Weights-v2.0-GF-master
Weights fixes (master)
2022-12-08 15:22:19 +01:00
Sebastien Loriot b9a87af07e
Merge pull request #7023 from MaelRL/Weights-v2.0-GF-5.5.x
Weights fixes (5.5.x)
2022-12-08 15:21:58 +01:00
Sebastien Loriot fa72ad2ad0
Merge pull request #6977 from MaelRL/Weights-v2.0-GF
Weights fixes (5.4.x)
2022-12-08 15:21:43 +01:00
Mael Rouxel-Labbé a2316e3f21 Minor improvements 2022-12-08 14:38:36 +01:00
Mael Rouxel-Labbé 28663265c6 Merge remote-tracking branch 'cgal/master' into PMP-snap_no_deg_faces_created 2022-12-08 14:35:48 +01:00
Andreas Fabri 9159816fb4 PMP: Fix for a -Wmaybe-uninitialized 2022-12-07 08:02:35 +00:00
Mael 0ff7882997
Merge branch 'master' into feature/bug_documentation_spell_20221113 2022-12-06 22:21:06 +01:00
Mael db81e4a3fb
Further clarify doc 2022-12-06 22:13:05 +01:00
Andreas Fabri 1adb13edc8 Do not use deprecated functions 2022-12-06 12:34:26 +00:00
Mael 6538b22e06
Merge branch 'master' into CGAL-Clean_CMakeLists.txt-GF 2022-12-05 16:03:41 +01:00
Laurent Rineau 90f6546d77 Merge pull request #7069 from sloriot/PMP-split_repair_5.5
Split repair
2022-12-05 13:50:25 +01:00
Laurent Rineau 42c8c4f9e1 Merge pull request #7070 from sloriot/PMP-split_repair
Split repair (master version)
2022-12-05 12:23:19 +01:00
Laurent Rineau 041df61a70 Merge pull request #7074 from sloriot/PMP-compatible_orientation_missing_option
CGAL::PMP::compatible_orientations: add missing option
2022-12-05 12:22:09 +01:00
Laurent Rineau 17fd74e432 Merge pull request #7090 from afabri/PMP-assertion_bug-GF
Polygon Mesh Processing:  Fix CGAL_assertion_msg
2022-12-05 12:21:51 +01:00
Laurent Rineau 33cffd9c26 Merge pull request #7074 from sloriot/PMP-compatible_orientation_missing_option
CGAL::PMP::compatible_orientations: add missing option
2022-12-05 11:57:16 +01:00
Laurent Rineau ead1795d85 Merge pull request #7090 from afabri/PMP-assertion_bug-GF
Polygon Mesh Processing:  Fix CGAL_assertion_msg
2022-12-05 11:57:06 +01:00
Sébastien Loriot ffc20ffbd1 do not apply smoothing if the CC has some degenerate faces 2022-12-01 04:33:53 +01:00
albert-github f79d8bb542 Spelling corrections
After review
2022-11-30 10:31:13 +01:00
Andreas Fabri 2b26b8dd31 Don't use deprecated code in examples 2022-11-30 07:58:02 +00:00
Andreas Fabri a2e599b23d Fix typos 2022-11-29 16:55:43 +00:00
Andreas Fabri 63ffb5e82f Do the same for the other hole filling functions 2022-11-29 14:49:59 +00:00
Sébastien Loriot 352860ffa4 one solution for the return type 2022-11-29 14:24:11 +01:00
Andreas Fabri c07dc61b4f Use new version in test 2022-11-29 13:13:07 +00:00
Sébastien Loriot 8708d348dd remove extra _t 2022-11-29 13:58:40 +01:00
Andreas Fabri 7babddf443 PMP: Replace parameter with named parameter 2022-11-29 12:45:47 +00:00
Sébastien Loriot 128cc719fe missing } 2022-11-29 11:14:22 +01:00
Andreas Fabri 6572a8fb58 It's a warning not an assertion 2022-11-28 14:39:20 +00:00
Andreas Fabri 675d4a4eff Remove debug code 2022-11-28 14:22:42 +00:00
Andreas Fabri 0b56297ea2 Polygon Mesh Processing: Fix CGAL_assertion_msg 2022-11-28 14:05:59 +00:00
Laurent Rineau 6cff086454 Merge pull request #7067 from sloriot/PMP-clean_up_pmp_bo_params
Remove no longer needed function
2022-11-25 10:14:59 +01:00
Laurent Rineau 33a7ae51d4 Merge pull request #7068 from sloriot/PMP-repair_si_fix_include
Fix include
2022-11-25 10:14:57 +01:00
Mael 208a4c24a5
Absolve doc 2022-11-24 13:15:12 +01:00
Mael Rouxel-Labbé deb1533957 Improve documentation of PMP::compute_vertex_normal() 2022-11-23 20:16:17 +01:00
Sébastien Loriot 75e08a9736 typo 2022-11-23 18:36:43 +01:00
Sébastien Loriot 876e69aeb4 add missing option that make the function almost useless if not present 2022-11-23 18:18:09 +01:00
Sébastien Loriot 550d86cc0d update doc 2022-11-22 10:48:27 +01:00
Sébastien Loriot 1520ac93e4 Merge branch 'sloriot/PMP-split_repair_5.5' into master 2022-11-22 10:38:00 +01:00
Sébastien Loriot 5a992f60a4 split repair 2022-11-22 10:31:34 +01:00
Sébastien Loriot 718214bf4f fix include 2022-11-21 19:26:35 +01:00
Sébastien Loriot fd00ce2d02 seems that the no_parameter function is no longer needed 2022-11-21 16:02:04 +01:00
albert-github 781f9a2943 spelling corrections
After review:
- outputhing -> outputting
- neighbour -> neighbor
2022-11-17 10:25:10 +01:00
albert-github 01a7852f70 Merge branch 'master' into feature/bug_documentation_spell_20221113
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.

Synchronize with master
2022-11-16 13:58:05 +01:00
albert-github eed54a0ae5 spelling corrections
Some spelling corrections (Directories starting with `O`-`S` , first part),
some backward work
some forward work
2022-11-15 18:45:39 +01:00
Laurent Rineau 04c51a1034 Merge pull request #7034 from sloriot/PMP-coref_open_mesh_case_fix
Fix inconsistency check
2022-11-15 17:01:26 +01:00
Laurent Rineau 868793754b Merge pull request #7034 from sloriot/PMP-coref_open_mesh_case_fix
Fix inconsistency check
2022-11-15 17:00:45 +01:00
Laurent Rineau 48811a4622 Merge pull request #7034 from sloriot/PMP-coref_open_mesh_case_fix
Fix inconsistency check
2022-11-15 16:59:27 +01:00
albert-github 3674c937f7 spelling corrections
Some spelling corrections (Directories starting with `M`-` N`),
some backward work
some forward work
2022-11-15 15:21:01 +01:00
albert-github 45478184de spelling corrections
Some spelling corrections (Directories starting with `E`-` L`),
some backward work
some forward work
2022-11-15 13:39:40 +01:00
Sébastien Loriot cd4de51a40 fix inconsistency check 2022-11-09 18:17:31 +01:00
Mael 8ff15b25a0
reparation -> repairing 2022-11-09 15:44:10 +01:00
Andreas Fabri 07c60df0ce Polygon_mesh_processing: reparation -> repairing 2022-11-09 10:00:54 +00:00
Jane Tournois 6b4bd0b653 make conversion explicit with CGAL::to_double 2022-11-08 17:43:41 +01:00
Jane Tournois aab981e74f use CGAL::to_double because cast-to-double may not be available for all number types 2022-11-08 17:39:53 +01:00
Laurent Rineau 92d8d1c805 Merge remote-tracking branch 'cgal/master' into CGAL-allow_Epick_with_float-GF
# Conflicts:
#	Mesh_3/test/Mesh_3/test_meshing_3D_image.cpp
2022-11-08 12:11:06 +01:00
Mael Rouxel-Labbé 83b0b0bdef Merge branch 'Weights-v2.0-GF-5.5.x' into Weights-v2.0-GF-master 2022-11-07 14:23:29 +01:00
Mael Rouxel-Labbé 7564b761ac Merge branch 'Weights-v2.0-GF' into Weights-v2.0-GF-5.5.x 2022-11-07 14:11:10 +01:00
Sven Oesau 47babfefae reverted exclusion of some tests 2022-11-07 10:38:49 +01:00
Laurent Rineau 987391d8ee Merge pull request #6930 from MaelRL/BGL-Use_is_valid_descriptor-GF
BGL graph validity improvements
2022-11-07 10:08:34 +01:00
Laurent Rineau 5239daab19
Merge pull request #7010 from afabri/PMP-BGL-shrunk-GF 2022-11-04 10:27:19 +01:00
Andreas Fabri f605c347ae Fixed typo: shrinked -> shrunk 2022-11-04 10:01:53 +01:00
Sébastien Loriot 2c66c24165 handle meshes with non-manifold vertices with shared interface 2022-11-03 15:33:21 +01:00
Laurent Rineau 8e8153c0ac Merge pull request #6871 from afabri/CGAL_assertions-GF
CGAL: No longer per package assertions
2022-11-03 09:44:48 +01:00
Laurent Rineau 56453b7e9f Merge pull request #6953 from afabri/CGAL-Wunused-but-set-variable-GF
Address -Wunused-but-set-variable
2022-11-03 09:44:45 +01:00
Laurent Rineau 2f9e031da7 Fix parts of PMP with Simple_precision_epick 2022-10-28 12:08:11 +02:00
Jane Tournois f5480e6006 fix more float/double conversions
code that uses eigen can use doubles when needed
2022-10-26 18:19:46 +02:00
Sébastien Loriot 0cac6a9da8 Merge remote-tracking branch 'sloriot/PMP-decimation' into PMP-decimation 2022-10-25 14:55:57 +02:00
Sébastien Loriot 98e774241b update test 2022-10-21 14:28:12 +02:00
Sébastien Loriot 890c6eed06 fix copy/paste error of indices + conditional update of corner list 2022-10-21 14:04:19 +02:00
Mael Rouxel-Labbé 91336eb213 Use modern C++ 2022-10-20 17:28:00 +02:00
Mael Rouxel-Labbé 19f847a74b Fix API of cotan functor in shape smoothing 2022-10-20 17:27:39 +02:00
Mael Rouxel-Labbé 6cd5c24f70 Pass traits to the secure Vor-weighted cotan functor 2022-10-20 17:27:26 +02:00
Mael Rouxel-Labbé 9ab7e1ed7f Misc minor code cleaning 2022-10-20 17:21:43 +02:00
Sébastien Loriot 11f6941e98 handle duplicated vertices in input meshes 2022-10-20 14:05:43 +02:00
Sébastien Loriot c4f6912e47 use correct API 2022-10-19 13:55:19 +02:00
Sébastien Loriot 36c16eeedf fix function names in the visitor 2022-10-17 15:39:01 +02:00
Andreas Fabri c04dceb71d Merge master 2022-10-14 14:40:58 +01:00
Andreas Fabri fb1b02eb94 PMP 2022-10-14 10:29:45 +01:00
Sébastien Loriot a4bd963c9b copy/paste error 2022-10-13 19:06:56 +02:00
Laurent Rineau 90e2a876e2 Merge pull request #6931 from MaelRL/PMP-remove_degen_fix_bad_removal-GF
Purge to-be-border halfedges from edges-to-collapse sets
2022-10-13 15:17:41 +02:00
Laurent Rineau b232f4bcfd Merge pull request #6942 from sloriot/CGAL-header_clean_up
Clean up in headers
2022-10-13 15:17:39 +02:00
Laurent Rineau 2b5b4be5d4 Merge pull request #6931 from MaelRL/PMP-remove_degen_fix_bad_removal-GF
Purge to-be-border halfedges from edges-to-collapse sets
2022-10-13 15:15:19 +02:00
Andreas Fabri 683805c34a Isotropic remeshing 2022-10-13 08:06:30 +01:00
Andreas Fabri 32efdd9110 isotropic remeshing 2022-10-13 07:34:43 +01:00
Sébastien Loriot e27a7f40c9 handle vertices with the same corner id while allowing non-manifold vertices within a patch 2022-10-12 12:55:47 +02:00
Andreas Fabri 341e1167a8 isotropic remeshing 2022-10-12 09:59:35 +01:00
Andreas Fabri 3e90f9ccf7 mesh_smoothing 2022-10-12 09:28:02 +01:00
Andreas Fabri 9bd49632cd repair_self_intersections 2022-10-12 08:54:56 +01:00
Andreas Fabri c8df65ebf9 repair_degeneracies 2022-10-12 08:11:12 +01:00
Sébastien Loriot 623a5e0814 we must invalidate face_boundaries to take corner changes into account 2022-10-10 16:44:46 +02:00
Sébastien Loriot 276ddda24c handle failure in remeshing of patches with multiple meshes 2022-10-07 18:28:58 +02:00
Sébastien Loriot 24aa3200c3 allow patch remeshing to fail
in such a case, neighbor patches with an interface that changed are
then marked to be processed again
2022-10-07 17:56:41 +02:00
Sébastien Loriot e8c5de51b7 remove useless header to directly include the right file 2022-10-06 15:40:05 +02:00
Mael Rouxel-Labbé 60d50a8b57 Fix not purging to-be-border halfedges from edges-to-collapse sets 2022-10-04 22:57:37 +02:00
Mael Rouxel-Labbé 34ea88c73d Use is_valid_*_descriptor 2022-10-04 22:22:40 +02:00
Mael Rouxel-Labbé 60ecc51ba7 Code cleaning (no real changes) 2022-10-04 20:43:31 +02:00
Laurent Rineau 6538a18044 Merge pull request #6844 from MaelRL/PMP-Complete_array_based_repair_PS-GF
Complete array-based polygon soup repair
2022-10-04 13:53:24 +02:00
Laurent Rineau af3945337b Merge pull request #6845 from sloriot/PMP-coref_open_mesh_case
PMP corefinement: Handle inconsistency with open mesh as input
2022-10-04 13:53:21 +02:00
Laurent Rineau f0b4b38b9a Merge pull request #6867 from sloriot/PMP-collision_detection_copy
Add default copy constructor and operator=
2022-10-04 13:52:53 +02:00
Laurent Rineau 462eb5eaf3 Merge pull request #6872 from MaelRL/PMP-Fix_keep_LCC-GF
Fix dry-run of keep_largest_CCs dumping the wrong faces
2022-10-04 13:52:49 +02:00
Laurent Rineau a4f6f58e25 Merge pull request #6845 from sloriot/PMP-coref_open_mesh_case
PMP corefinement: Handle inconsistency with open mesh as input
2022-10-04 13:50:24 +02:00
Laurent Rineau 23678d0f7d Merge pull request #6867 from sloriot/PMP-collision_detection_copy
Add default copy constructor and operator=
2022-10-04 13:50:18 +02:00
Laurent Rineau 87f16af6e2 Merge pull request #6872 from MaelRL/PMP-Fix_keep_LCC-GF
Fix dry-run of keep_largest_CCs dumping the wrong faces
2022-10-04 13:50:15 +02:00
Laurent Rineau de80833223 Merge pull request #6845 from sloriot/PMP-coref_open_mesh_case
PMP corefinement: Handle inconsistency with open mesh as input
2022-10-04 13:48:16 +02:00
Laurent Rineau ff2bab36b0 Merge pull request #6867 from sloriot/PMP-collision_detection_copy
Add default copy constructor and operator=
2022-10-04 13:48:11 +02:00
Sven Oesau 28a8f25186 some more epeck-only tests in pmp_locate 2022-10-01 16:05:56 +02:00
Mael Rouxel-Labbé 9e0a71f7ad Actually cube the threshold value for the volume bound 2022-09-28 13:50:43 +02:00
Sven Oesau 5924d196ae removed unnecessary restrictions of tests to epeck 2022-09-27 18:38:12 +02:00
Sven Oesau a01c1e64d2 several predicates are only tested for EPECK as other kernels are inexact and may fail in certain cases/on certain architectures 2022-09-26 09:03:12 +02:00
Sven Oesau 08cf03e349 null vector for degenerate faces is only expected for EPECK
can be non-null for other kernels
2022-09-26 08:59:34 +02:00
albert-github 17a84db90e Some obvious missing quotes
Some obvious missing quotes  (last set)
2022-09-25 18:00:08 +02:00
Mael Rouxel-Labbé 363d1daaef Some more conversions to non-package specific assertions 2022-09-23 15:20:24 +02:00
Mael Rouxel-Labbé f27428c4d9 Improve tests for PMP::keep_large(st)_CC() 2022-09-23 14:54:15 +02:00
Mael Rouxel-Labbé e51bafbfbe Fix dry-run of keep_largest_CCs dumping the wrong faces 2022-09-23 14:53:36 +02:00
Sébastien Loriot 495f2e316a add default copy constructor and operator= 2022-09-21 18:59:18 +02:00
Mael Rouxel-Labbé 6f187f332c Misc minor fixes/improvements 2022-09-14 14:08:23 +02:00
Sébastien Loriot d084d9396f ignore new test for clipping 2022-09-14 10:35:23 +02:00
Sébastien Loriot f5fb60ef66 handle cmd with several lines 2022-09-14 10:18:16 +02:00
Sébastien Loriot b3da3506d6 add testcase that has an non-closed mesh and a close mesh incompatible for BO 2022-09-13 17:55:02 +02:00
Sébastien Loriot 6f509a02ad handle inconsistency of classification due to non-closed meshes 2022-09-13 17:19:06 +02:00
Sébastien Loriot d7426630ea set stream precision to the max 2022-09-13 14:33:23 +02:00
Mael Rouxel-Labbé 008227757b Remove traits from polygon hasher's parameters 2022-09-13 13:24:54 +02:00
Mael Rouxel-Labbé e37487e6b2 Fix some internal function documentation 2022-09-13 13:24:28 +02:00
Laurent Rineau 8dd8e0dd11 Merge pull request #6812 from sloriot/PMP-split_visitor
add missing visitor calls in PMP::split()
2022-09-13 12:33:01 +02:00
Laurent Rineau 7d5e498538 Merge pull request #6812 from sloriot/PMP-split_visitor
add missing visitor calls in PMP::split()
2022-09-13 12:32:17 +02:00
Mael Rouxel-Labbé 7a136f7116 Update repair_PS example 2022-09-13 11:14:59 +02:00
Mael Rouxel-Labbé 6cdf3f256f Complete array-based polygon soup reparation: remove more invalid faces 2022-09-13 11:14:33 +02:00
Mael Rouxel-Labbé e93b0b28eb Misc trivial cleaning 2022-09-06 16:25:47 +02:00
Mael Rouxel-Labbé 9b265fddf8 Uniformize REQUIRED / QUIET usage:
Following this:
- CGAL: always REQUIRED
- CGAL component: COMPONENT / OPTIONAL_COMPONENT (never QUIET)
- required 3rd party: (not QUIET) + message(NOTICE "") on NOT_FOUND
- optional 3rd party: QUIET + message(STATUS "") except for Polyhedron/demo
- 3rd party components: COMPONENT / OPTIONAL_COMPONENT
                        (QUIET depending on required or optional 3rd party)
2022-09-06 16:24:27 +02:00
Mael Rouxel-Labbé 4fc486b195 Purge CMakeLists.txts from obsolete code / noise 2022-09-06 16:19:11 +02:00
Mael Rouxel-Labbé 7cb21c24b0 Uniformize message() for missing 3rd party libraries
STATUS for non-essential, NOTICE for important stuff
2022-09-06 16:07:31 +02:00
Mael Rouxel-Labbé 28ba446895 Clean (some) CMakeLists.txt indentation 2022-09-06 15:38:18 +02:00
Sven Oesau 80eb8601e6
Merge branch 'CGAL:master' into Region_growing-revision-soesau 2022-09-02 16:42:41 +02:00
Sébastien Loriot ce1bb34d65 add missing visitor calls in split 2022-08-28 22:08:45 +02:00
Laurent Rineau d49ee20965
Merge pull request #6665 from sloriot/CGAL-std_type_traits 2022-08-17 13:56:54 +02:00
Sebastien Loriot d64d243bf5
Merge pull request #6772 from sloriot/PMP-remove_caps_needles_doc
Document remove_almost_degenerate_faces()
2022-08-10 18:31:52 +02:00
Sebastien Loriot beb57433c4
Apply suggestions from code review
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
2022-08-04 10:30:02 +02:00
Sébastien Loriot 861588abe1 Merge 'sloriot/CGAL-std_type_traits' into master 2022-08-03 20:19:51 +02:00
Sébastien Loriot 888c64fd74 add PMP region growing function (plane/face) 2022-08-03 20:08:05 +02:00
Sébastien Loriot d04f42c3b1 Merge remote-tracking branch 'cgal/5.5.x-branch' 2022-08-01 15:53:56 +02:00
Sébastien Loriot 3c24a79336 Merge pull request #6773 from janetournois/PMP-relaxation_avoid_global_function-jtournois
PMP::tangential_relaxation() - avoid using global function barycenter()
2022-08-01 15:52:31 +02:00
Sébastien Loriot 403c1ed975 Merge remote-tracking branch 'cgal/5.4.x-branch' into HEAD 2022-08-01 15:51:53 +02:00
Jane Tournois c6bc71b254 use construct_midpoint_3_object() instead of CGAL::midpoint() 2022-07-28 15:51:56 +02:00
Jane Tournois d7d439fc48 use construct_barycenter_3_object() instead of CGAL::barycenter() 2022-07-28 14:37:02 +01:00
Sébastien Loriot f075a3ee1e add missing Ref 2022-07-27 15:48:23 +02:00
Sébastien Loriot 70b7c627db improve doc 2022-07-26 16:42:24 +02:00
Sébastien Loriot e660b2dd1d fix copy/paste error and use double for parameters to be compatible
with predicates
2022-07-26 15:55:52 +02:00
Sébastien Loriot 5f72bbd623 more doc fixes 2022-07-26 15:48:12 +02:00
Sébastien Loriot f7358a0a0d fix typos in doc 2022-07-26 15:34:21 +02:00
Sébastien Loriot b1ee7ba78e move outside experimental namespace with a better API and doc 2022-07-26 15:06:49 +02:00
Laurent Rineau 051889ad18 Merge pull request #6753 from sloriot/PMP-default_normal_map
Add an example for default vector normal map
2022-07-24 18:08:30 +02:00
Simon Lopez 102f6fc0fb Improve PMP::split documentation 2022-07-19 16:52:42 +02:00
Sébastien Loriot 916e48284d add an extra overload of choose_parameter for dynamic property maps 2022-07-13 12:48:27 +02:00
Sébastien Loriot ab7183b42e add an example for default vector normal map 2022-07-13 11:46:11 +02:00
Sébastien Loriot 9c06085dd0 Merge remote-tracking branch 'cgal/5.5.x-branch' 2022-07-12 18:23:13 +02:00
Sébastien Loriot 1e857506c1 Merge remote-tracking branch 'cgal/5.5.x-branch' 2022-07-12 18:22:02 +02:00
Sébastien Loriot 12795ba29c Merge remote-tracking branch 'cgal/5.4.x-branch' into HEAD 2022-07-12 18:21:16 +02:00
Sébastien Loriot cc50e4464c update to new NP macro name 2022-07-11 13:24:20 +02:00
Sébastien Loriot 8f09664aeb Merge remote-tracking branch 'MaelRL/PMP-Fix_stitch_NP' into 5.5-x-branch 2022-07-11 13:21:54 +02:00
Sébastien Loriot e18878f5a0 Merge remote-tracking branch 'cgal/5.5.x-branch' 2022-07-08 20:28:04 +02:00
Sebastien Loriot 4b9032f8c6
Merge pull request #6547 from afabri/Skeletoniation-HDS-GF
Skeletonization: Replace internally Polyhedron by HDS
2022-07-08 20:24:58 +02:00
Mael Rouxel-Labbé 70143a6304 Complete PMP::stitch_borders documentation (geom traits added to the NPs) 2022-07-07 16:51:19 +02:00
Mael Rouxel-Labbé 9c95b2ccb1 Add proper traits usage to PMP::stitch_borders 2022-07-07 16:51:04 +02:00
Sébastien Loriot b25217ed53 remove unused typedef 2022-07-07 13:42:37 +02:00
Sébastien Loriot ceb8ca70ef fix warning 2022-07-05 14:03:38 +02:00
Mael Rouxel-Labbé 3be8469277 Move build into 'internal' namespace 2022-07-04 11:41:44 +02:00
Mael Rouxel-Labbé d934a0465f Test range of array faces in repair_polygon_soup() 2022-07-04 11:41:44 +02:00
Mael Rouxel-Labbé 1d47a29224 Add an overload of repair_polygon_soup for array-based soups
which does not call functions that are meaningless for ranges
of fixed size faces
2022-07-04 11:41:44 +02:00
Mael Rouxel-Labbé a691eeff97 Rewrite merge_duplicate_points_in_polygon_soup() without container.insert(...) 2022-07-04 11:41:44 +02:00
Sébastien Loriot 49ca357d49 Merge remote-tracking branch 'cgal/5.5.x-branch' 2022-07-04 10:53:00 +02:00
Sébastien Loriot a4e53600c1 Merge remote-tracking branch 'cgal/5.4.x-branch' 2022-07-04 10:52:16 +02:00
Sebastien Loriot d218b32cf9
Merge pull request #6639 from sloriot/PMP-clip_deg_faces
Handle deg faces in clip with allow_self_intersections
2022-07-04 10:48:30 +02:00
Sebastien Loriot 6d6791456a
Merge pull request #6711 from sloriot/CGAL-constexpr
Add some constexpr for constant functions
2022-07-04 10:48:08 +02:00
Sebastien Loriot b0a4263eb6
Merge pull request #6713 from sloriot/PMP-radf_no_nm_vertices
Avoid creating border non-manifold vertices
2022-07-04 10:47:04 +02:00
Sébastien Loriot 96d2f9ec5e unused variable 2022-06-29 13:10:20 +02:00
Sébastien Loriot 9634d9321a add missing off 2022-06-29 11:29:12 +02:00
Sébastien Loriot 707b45cb5b Merge remote-tracking branch 'cgal/5.5.x-branch' 2022-06-29 10:48:00 +02:00
Sébastien Loriot 373deccfb6 constexpr function requires even parameters to be LiteralType 2022-06-29 10:36:34 +02:00
Laurent Rineau 42e993c7da Merge pull request #6587 from afabri/PMP-triangle-GF
PMP::Add function triangle(face_descriptor, tmesh)
2022-06-29 09:52:19 +02:00
Laurent Rineau 686535da79 Merge pull request #6645 from albert-github/feature/bug_symbol_resolver
Corrections for more strict doxygen symbol resolver
2022-06-29 09:52:17 +02:00
Laurent Rineau dfa3d21446 Merge pull request #6668 from afabri/PMP-fix_includes_in_test-GF
PMP:  Include the correct header file in a test
2022-06-29 09:52:13 +02:00
Laurent Rineau 317cc6c17f Merge pull request #6669 from sloriot/PMP-dbav_attention
Better doc + early quit
2022-06-29 09:50:45 +02:00
Laurent Rineau 7f43d3b095 Merge pull request #6669 from sloriot/PMP-dbav_attention
Better doc + early quit
2022-06-29 09:42:00 +02:00
Sébastien Loriot 1a4a6816ac Merge pull request #6084 from janetournois/PMP-add_surface_mesher-jtournois
PMP - add surface remeshing from Mesh_3
2022-06-29 09:20:10 +02:00
Laurent Rineau 499b7794c9 Merge pull request #5693 from janetournois/Mesh_data_structure_3-new_package-jtournois
SMDS_3: Mesh_data_structure_3 - new package for C3T3
2022-06-29 09:14:38 +02:00
Sébastien Loriot 678b9d8148 add some constexpr for constant functions 2022-06-28 16:49:05 +02:00
Sébastien Loriot cc2d27e519 add corefine test 2022-06-27 19:58:58 +02:00
Sébastien Loriot 2670d65fd0 add extra tests 2022-06-27 19:19:10 +02:00
Sébastien Loriot 3283fd0b37 handle coplanar intersection of degenerate faces 2022-06-27 18:52:53 +02:00
Sébastien Loriot 1bc8b294f8 avoid creating border non-manifold vertices 2022-06-24 13:30:53 +02:00
Sébastien Loriot c9c6b30cf0 Merge sloriot/CGAL-std_type_traits into master 2022-06-23 16:35:37 +02:00
Sébastien Loriot d59492933c make to_exact static 2022-06-22 16:56:51 +02:00
Sébastien Loriot 79703fa5f4 add TODO 2022-06-21 18:00:08 +02:00
Sébastien Loriot fb0cb2b95d handle triangle with null edges and with an edge coplanar to a triangle 2022-06-21 17:58:13 +02:00
Sébastien Loriot 903e3a4e41 test clip with degenerate triangles 2022-06-21 17:57:50 +02:00
Sébastien Loriot b66d3a0784 avoid adding twice the same edge 2022-06-21 17:37:22 +02:00
Sébastien Loriot 28e8895998 algorithm to triangulate degenerate faces 2022-06-20 18:56:55 +02:00
Sébastien Loriot a7667b43f9 lazy degenerate checks
only if throw_on_self_intersection is set or for corefine/clip
with possibly self_intersections
2022-06-16 16:48:28 +02:00
Sébastien Loriot 5fc4b4f3c4 Merge remote-tracking branch 'cgal/master' into HEAD 2022-06-16 13:33:54 +02:00
Sébastien Loriot 4400120244 remove non-needed include directives 2022-06-16 09:54:57 +02:00
Sébastien Loriot 87b3866e1c early exit when we reached the last level of the hierarchy 2022-06-15 17:28:35 +02:00
Laurent Rineau cefa3d9d80 Merge pull request #6648 from sloriot/PMP-do_not_flip_high_triangles
Add an option to a remove_almost_degenerate_faces
2022-06-15 10:20:53 +02:00
Laurent Rineau 85ba0e44e4 Merge pull request #6656 from lrineau/PMP-fix_missing_header-GF
PMP.repair_polygon_soup.h: add #include <deque>
2022-06-15 10:20:46 +02:00
Laurent Rineau 378685ddd2 Merge pull request #6648 from sloriot/PMP-do_not_flip_high_triangles
Add an option to a remove_almost_degenerate_faces
2022-06-15 10:19:02 +02:00
Laurent Rineau 97bc6192b9 Merge pull request #6656 from lrineau/PMP-fix_missing_header-GF
PMP.repair_polygon_soup.h: add #include <deque>
2022-06-15 10:18:55 +02:00
Sébastien Loriot 1f8cf134da add a warning 2022-06-15 10:03:51 +02:00
Andreas Fabri f3d587da26 PMP: Include the correct header file in a test 2022-06-15 07:33:55 +01:00
Sébastien Loriot 37580e9daf missing () in macro + typo fixes 2022-06-14 11:24:21 +02:00
Laurent Rineau c132b6a11e Merge remote-tracking branch 'cgal/master' into Mesh_data_structure_3-new_package-jtournois 2022-06-13 16:26:34 +02:00
Sébastien Loriot c8654724e2 update test to check we can prevent collapses and flips 2022-06-13 12:41:57 +02:00
Laurent Rineau a9b4bf3ffb Merge pull request #6635 from sloriot/PMP-split_long_edges_np
Add face_patch_map to split_long_edges
2022-06-10 16:45:37 +02:00
Sébastien Loriot 3fa436459d BOOST_MPL_ASSERT -> static_assert 2022-06-10 08:46:01 +02:00
Sébastien Loriot ac8b6d4731 boost::is_same --> std::is_same 2022-06-10 08:18:20 +02:00
Sébastien Loriot 4f5f8341cc use std::enable_if_t 2022-06-10 07:37:53 +02:00
Sébastien Loriot eee363df27 Merge cgal/master 2022-06-08 23:23:07 +02:00
Sébastien Loriot 5746e59b34 Merge cgal/master 2022-06-08 23:13:25 +02:00
Jane Tournois abdf1bce22 Meael's review 2022-06-08 22:53:18 +02:00
Sébastien Loriot c8cbbbfb1d Merge cgal/master 2022-06-08 22:49:25 +02:00
Sébastien Loriot 5e124e5d5f Merge cgal/master 2022-06-08 22:43:17 +02:00
Sébastien Loriot f0fc06b998 Merge cgal/master 2022-06-08 22:10:34 +02:00
Jane Tournois 04c0f8ae6c fix compilation of surf_io_plugin 2022-06-08 22:01:46 +02:00
Sébastien Loriot 920c35c30e Merge cgal/master 2022-06-08 21:56:39 +02:00
Jane Tournois 57439c0235 wip : transfer surface patch indices from c3t3 to Surface_mesh
in export_facets_in_complex()
2022-06-08 21:46:52 +02:00
Sébastien Loriot e7b9e48d76 do not use deprecated API 2022-06-08 17:49:08 +02:00
Laurent Rineau f8f48f262d Add #include <deque> 2022-06-08 16:10:29 +02:00
Sébastien Loriot 6869bddeaa add a named parameter to avoid flipping high triangles 2022-06-07 16:29:16 +02:00
Jane Tournois 132a1d57e4 add missing link with Eigen 2022-06-07 11:34:14 +02:00
albert-github ee415d50de Corrections for more strict doxygen symbol resolver
The doxygen  symbol resolver for the doxygen master version (1.9.5 (35711f2d14acc81cff83f81f04c566ad8c8c6fe8)) has been improved (made stricter) but this means also means that some links have to be corrected.
The patch has been tested against the mentioned doxygen master and against doxygen 1.8.13 and the results look in both cases correct (without the patch the master version has some warnings and some incorrect links)..

The patch has been created by @doxygen and upon request created into a pull request by me.
2022-06-07 10:56:37 +02:00
Jane Tournois 2159aea79a add missing link with Eigen 2022-06-07 10:10:55 +02:00
Sébastien Loriot 28fc05cf76 workaround handle degenerate triangles and duplicated nodes in clip 2022-06-02 19:28:54 +02:00
Jane Tournois 86c9a35c15 Merge remote-tracking branch 'cgal/master' into PMP-add_surface_mesher-jtournois 2022-06-02 08:25:30 +01:00
Sébastien Loriot 7b77db9d8d set up patch id 2022-06-01 15:25:59 +02:00
Sébastien Loriot cb3393788f add face_patch_map to split_long_edges 2022-06-01 11:38:55 +02:00
Andreas Fabri 54f0da6249 Fix typo 2022-05-31 14:40:49 +01:00
Sébastien Loriot 7000bf00a9 add missing doc 2022-05-26 17:56:36 +02:00
Sébastien Loriot c78c323d08 check for all kinds of degenerate faces 2022-05-23 18:01:43 +02:00
Sébastien Loriot 43c6c8a6aa remove unused typedef 2022-05-23 18:00:37 +02:00