Commit Graph

105231 Commits

Author SHA1 Message Date
Laurent Rineau 4ba26e9280 Merge pull request #8257 from gdamiand/LCC-bugfix-gdamiand
Bug fix: definition of Self and Base in class Cell_attribute_with_point when using index.
2024-06-10 18:28:30 +02:00
Laurent Rineau 09d29da96c Merge pull request #8201 from afabri/ToS-IO-GF
Triangulation on Sphere: Fix I/O
2024-06-10 18:22:30 +02:00
Laurent Rineau 751b21a525 Merge pull request #8245 from sloriot/Kernel_23-missing_template
Add missing template parameter in the doc
2024-06-10 18:22:28 +02:00
Guillaume Damiand e4140c286f Change type in storage with index (cmap, gmap, lcc) 2024-06-05 14:58:22 +02:00
Guillaume Damiand d3e88f29b8 Use different number types for lcc with index in tests. 2024-06-05 14:44:47 +02:00
Guillaume Damiand 31f5aa5ad0 add missing friend 2024-06-05 13:45:08 +02:00
Guillaume Damiand c0c768b2bb Bug fix: definition of Self and Base in class Cell_attribute_with_point when using index. 2024-06-05 11:00:18 +02:00
Mael Rouxel-Labbé f8abb836a0 Use the correct enum value 2024-06-04 17:39:15 +02:00
Mael Rouxel-Labbé a4a2b7d702 Misc clean-up 2024-06-04 17:35:04 +02:00
Mael Rouxel-Labbé c0f4018522 Modify data as to have an error with the default sphere 2024-06-04 17:34:34 +02:00
Mael Rouxel-Labbé de92d89071 Also read and write the sphere's center and radius 2024-06-04 17:34:13 +02:00
Mael Rouxel-Labbé 99058987d9 Factorize ToS2 DToS2 is_valid() functions 2024-06-04 16:55:04 +02:00
Mael Rouxel-Labbé 085b6a86c8 Add missing requirement for ToS2 face base IO 2024-06-04 16:54:35 +02:00
Mael Rouxel-Labbé d9249532dd Fix uninitialized member 2024-06-04 16:54:22 +02:00
Sébastien Loriot 3f931d55ff add missing template parameter 2024-05-31 15:08:42 +02:00
Sebastien Loriot 94b9726a46
Surface_mesh: Add exact_num_faces(const SM&) (#8215)
## Summary of Changes

Add a partial specialization for `CGAL::internal::exact_num_faces(const
Surface_mesh&)` to have an `O(1)` time. This was pointed out as
important for the `Face_count_stop_predicate` in Issue #8158

## Release Management

* Affected package(s): Surface_mesh
* Issue(s) solved (if any): fix #5720
* License and copyright ownership: unchanged
2024-05-26 17:48:47 +02:00
Sébastien Loriot 5bb8ae63a1 add other surface mesh overloads 2024-05-24 14:34:32 +02:00
Andreas Fabri 9c2224620d Surface_mesh: Add exact_num_faces(const SM&) 2024-05-22 14:27:43 +01:00
Andreas Fabri 2d455ebf57 improvement but not yet a fix 2024-05-16 08:04:32 +01:00
Andreas Fabri 195001267f Try to fix a warning 2024-05-16 07:00:06 +01:00
Laurent Rineau 7838cde63b Merge pull request #8178 from sloriot/PMP-shorten_params
Rename parameters
2024-05-15 16:04:16 +02:00
Andreas Fabri 67b909cd67 Fix assertion 2024-05-14 15:59:51 +01:00
Andreas Fabri 4f592ed50c Add operator <<() and >>() for the ToS_face_base that handles the ghost status 2024-05-14 15:58:46 +01:00
Andreas Fabri 516ef8f4c4 show that ghost status gets lost 2024-05-14 15:58:46 +01:00
Andreas Fabri a0cd7f8926 While we skip the first vertex when we write, we must not skip it when we read 2024-05-14 15:58:45 +01:00
Andreas Fabri fcdc74f7b9 whitespace 2024-05-14 15:58:44 +01:00
Andreas Fabri 69d42b29e6 Triangulation on Sphere: Fix I/O 2024-05-14 15:58:16 +01:00
Sébastien Loriot 6291a4f62d also rename input nps 2024-05-06 09:50:18 +02:00
Sébastien Loriot 1be3e1d3f2 shorten parameters for better doc readibility 2024-05-02 14:36:18 +02:00
Laurent Rineau 8ab6479ec4 Merge branch '5.5.x-branch' into 5.6.x-branch 2024-04-22 14:51:51 +02:00
Laurent Rineau cb81293100 Merge pull request #8139 from janetournois/Mesh_3-revert_encroachment_loop-jtournois
Mesh_3 - revert encroachment rule modification, and fix infinite refinement
2024-04-22 14:51:38 +02:00
Laurent Rineau b20f18ff3b Merge pull request #7848 from sxntxn/OBJ_read_arbitrary_whitespace
CGAL::IO::Internal::read_OBJ(): allow arbitrary whitespace in "f" lines
2024-04-22 14:51:01 +02:00
Laurent Rineau e2041b933e Merge pull request #8113 from mbartelsm/patch-1
Update wlop_simplify_and_regularize_point_set.h documentation
2024-04-22 14:50:58 +02:00
Laurent Rineau c961aeeb7e Merge pull request #7848 from sxntxn/OBJ_read_arbitrary_whitespace
CGAL::IO::Internal::read_OBJ(): allow arbitrary whitespace in "f" lines
2024-04-22 14:50:39 +02:00
Laurent Rineau d190c80b49 Merge pull request #8113 from mbartelsm/patch-1
Update wlop_simplify_and_regularize_point_set.h documentation
2024-04-22 14:50:37 +02:00
Jane Tournois a8debb0d2d Revert "Fix sometimes creating holes in the C3T3"
This reverts commit 06d272169f.

There may be an inconsistency between exact and inexact computations,
in the facet encroachment rule

This code was leading to a local infinite refinement loop during cells refinement
2024-04-11 14:16:41 +02:00
Sebastian Hegler 912f3f0162 read_OBJ: allow arbitrary whitespace in "f" lines 2024-04-10 21:36:58 +02:00
Miguel Bartelsman 3908e2da3e Update wlop_simplify_and_regularize_point_set.h documentation
The documentation for the named parameter `require_uniform_sampling` is incorrect. It is a copy of the documentation written for `number_of_iterations`.
2024-04-10 21:07:51 +02:00
Laurent Rineau 35751442ee Merge pull request #8119 from afabri/Polyline_simplification-doc_bug-GF
Polyline_simplification: fix documentation
2024-04-10 18:02:53 +02:00
Andreas Fabri 7059b5b524 Polyline_simplification: fix documentation 2024-04-04 07:56:45 +01:00
Laurent Rineau a0a9d42c5c Merge pull request #8072 from janetournois/Mesh_3-use_one_step_loop-jtournois
Mesh_3 - fix mesher using the `one_step()` loop
2024-03-26 10:09:33 +01:00
Jane Tournois ad98ab16b7 unused argc, argv 2024-03-22 10:22:48 +01:00
Laurent Rineau 9f96166d44 Merge branch '5.5.x-branch' into 5.6.x-branch
# Conflicts:
#	Polygon/include/CGAL/Polygon_2_algorithms.h
#	Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/measure.h
2024-03-22 09:09:57 +01:00
Laurent Rineau 8cab90ed8b Merge pull request #8052 from afabri/Polygon-exact_area-GF
Polygon: Avoid stackoverflow when summing exact numbers
2024-03-22 08:59:08 +01:00
Jane Tournois 369cfb6a37 full iterator types for P3M3 2024-03-21 17:08:53 +01:00
Jane Tournois 644d6493eb nearest_power_vertex() does not work on an empty triangulation 2024-03-21 16:33:26 +01:00
Jane Tournois 44e176b88a
unused typedef
Co-authored-by: Sebastien Loriot <sloriot.ml@gmail.com>
2024-03-21 16:13:30 +01:00
Jane Tournois 5b004ffbe6 add a test for one_step() loop with features on tiny data 2024-03-14 17:27:47 +01:00
Jane Tournois 18dd164769 fix clear_cells_and_facets_from_c3t3()
we actually need to clear C3T3 from all facets and cells, including the infinite ones.
Indeed, extra point insertions during (e.g.) the initialization step may have made
invalid the metadata in all cells, including the infinite ones
2024-03-14 16:48:05 +01:00
Jane Tournois 80fd8759dd avoid insertion of points inside protecting balls, during initialization step 2024-03-14 16:40:28 +01:00