Jane Tournois
3816d8c2af
boost::optional has_value() is available only since boost 1.68
...
and CGAL supports boost >= 1.66
2022-11-03 14:27:54 +01:00
Jane Tournois
7f70d48ab9
seed_cell cannot be infinite
2022-11-03 14:27:53 +01:00
Sebastien Loriot
168825a7f1
fix warning
2022-11-03 14:27:53 +01:00
Jane Tournois
a8877c5a44
add struct Seed for better readability
...
and avoid using boost::none to be ready for std::optional (C++17)
2022-11-03 14:27:53 +01:00
Jane Tournois
7faa73bb27
locate of seed that is outside affine hull returns Cell_handle()
...
accessing the circumcenter was then failing
2022-11-03 14:27:52 +01:00
Jane Tournois
8b76b55b82
remove useless include
2022-11-03 14:27:52 +01:00
Jane Tournois
28a6946070
do not run random shooting in connected components that already are represented
...
during feature protection, most of the connected components, in particular on
the bbox boundary, are already represented and ready to start/hint Delaunay
refinement
if the chosen seed lies in a cell that already belongs (wrt Is_in_domain(cc))
to the right connected component, random shooting is canceled and
the loop continues to next seed
2022-11-03 14:27:52 +01:00
Jane Tournois
db6b051973
on image boundaries, construct point away from the surface
...
this avoids creating point clusters on surfaces
2022-11-03 14:27:51 +01:00
Laurent Rineau
adc5bd4677
Merge pull request #6864 from janetournois/Mesh_3-fix_weighted_images-GF
...
Mesh 3 - fix construction of weights image for labeled image input
2022-10-13 15:14:11 +02:00
Laurent Rineau
7db002804c
Merge pull request #6927 from lrineau/Mesh_3-fix_leaks-GF
...
Mesh_3: Fix a memory leak in the parallel code
2022-10-07 15:46:06 +02:00
Jane Tournois
9bb4fb4d15
protect debug code with macro
...
and remove default filename ""
2022-10-06 15:10:37 +02:00
Jane Tournois
c64a0d8648
add more details about how to choose sigma
2022-10-06 10:44:26 +02:00
Sébastien Loriot
d6d2188cc7
fix warning
2022-10-05 19:33:00 +02:00
Laurent Rineau
8fddaa6baa
Mesh_3: Fix a memory leak in the parallel code
2022-10-03 17:15:27 +02:00
Jane Tournois
0f4ac2bd04
remove debug macro from example code
2022-09-22 14:05:59 +02:00
Jane Tournois
af908bea25
use ITK DiscreteGaussianImageFilter with variance = 1 voxel
...
sigma parameter is difficult to use for end user
2022-09-22 12:48:46 +02:00
Jane Tournois
8c09f72039
add debug code
2022-09-20 15:54:54 +02:00
Laurent Rineau
67a5a69e7f
Revert "temporarily replace explicit call to kernel"
...
This reverts commit 43ef4e35ba .
2022-08-25 10:29:04 +02:00
Laurent Rineau
e7ffd0b943
New patch
...
This patch removes the cause of filter failures of `Compare_distance_3`, and
keep the exactness.
2022-08-19 15:25:28 +02:00
Jane Tournois
43ef4e35ba
temporarily replace explicit call to kernel
...
there are more than 90% filter failures in calls to
Compare_distance_3()(Point_3, Segment_3, Point_3)
this commits divides by 10 the initialization (protecting ball
placement) time, at least on polyhedral surfaces input
2022-08-11 15:32:18 +02:00
Sébastien Loriot
c32e2b1416
use operator||
2022-07-12 18:18:34 +02:00
Sébastien Loriot
493795f95d
also accomodate older versions of clang
2022-07-12 18:18:34 +02:00
Sébastien Loriot
ad1e333538
handle older GCC versions
2022-07-12 18:18:34 +02:00
Sébastien Loriot
45b5fd43f8
fix more warnings
2022-07-12 18:18:34 +02:00
Laurent Rineau
6d2a3dc772
Merge pull request #6492 from MaelRL/P3M3-Better_output-GF
...
Fix C3T3_facets_to_TM conversion for periodic meshes
2022-04-27 16:30:51 +02:00
Mael
ab03816081
Also put `Vertex_handle` typedef behind `CGAL_assertion_code`
2022-04-20 10:26:26 +02:00
Sébastien Loriot
4fc9fe5ffc
fix warning
2022-04-19 20:27:45 +02:00
Mael Rouxel-Labbé
4b82575b30
Fix C3T3_facets_to_TM conversion for periodic meshes
2022-04-15 14:11:41 +02:00
Andreas Fabri
ade80dcf4d
Fix initialisation of atomic
2022-01-20 08:44:38 +00:00
Andreas Fabri
d4f9be848c
Mesh_3: Fixes for VC++ with option /permissive-
2022-01-19 13:58:51 +00:00
Laurent Rineau
7cada272e8
Merge pull request #6124 from janetournois/Mesh_3-polyhedral_complex_in_demo-GF
2022-01-03 16:48:37 +01:00
Laurent Rineau
7e0f325f87
Merge pull request #6196 from MaelRL/Mesh_3-Remove_trailing_semicolon-GF
...
Fix: remove extra ';'
2022-01-03 16:26:05 +01:00
Laurent Rineau
2c777708d2
Merge pull request #6196 from MaelRL/Mesh_3-Remove_trailing_semicolon-GF
...
Fix: remove extra ';'
2022-01-03 16:22:18 +01:00
albert-github
245aa559e3
Warnings Mesh_3 regarding non existing file (documentation)
...
cherry-picked from 72e2c7b27b
Currently we get a number of warnings when building the documentation for Mesh_3:
```
/home/cgal-testsuite/cgal_doc_build/CGAL-5.3.1-I-169/doc/Mesh_3/Mesh_3.txt:743: warning: unable to resolve reference to 'CGAL/Mesh_3/initialize_triangulation_from_labeled_image.h\' for \ref command
/home/cgal-testsuite/cgal_doc_build/CGAL-5.3.1-I-169/doc/Mesh_3/Mesh_3.txt:801: warning: unable to resolve reference to 'Mesh_3/random_labeled_image.h\' for \ref command
/home/cgal-testsuite/cgal_doc_build/CGAL-5.3.1-I-169/doc/Mesh_3/Mesh_3.txt:817: warning: unable to resolve reference to 'CGAL/Mesh_3/initialize_triangulation_from_gray_image.h\' for \ref command
```
Note the backslash at the end of the file name.
Most likely an attempt was made to escape the dot to not have it as part of the filename, though at least in doxygen 1.8.13 a closing dot was not seen as part of the filename.
Looking at the other escape character of doxygen: the commercial at sign, this was apparently working as escape in the filename as well, though in doxygen 1.8.15 this was not the case anymore either.
During one of the last changes also the backslash lost this possibility for this case and this is now consistent.
The current change (removing the backslashes) doesn't look like to alter the behavior for the 1.8.13 and master version in respect to CGAL.
2021-12-27 08:38:49 +01:00
Mael Rouxel-Labbé
91d862d997
Remove extra ';'
2021-12-23 11:58:28 +01:00
Jane Tournois
e6bacfb226
make polyhedral complex usable with Surface_mesh
2021-11-12 10:44:41 +01:00
Sébastien Loriot
ab48f63e30
update latest cmake version tested
2021-11-09 10:58:47 +01:00
Sébastien Loriot
262a04cef2
remove useless POLICY setting
2021-11-09 10:19:14 +01:00
Sébastien Loriot
58181afcdb
remove useless include directives
2021-11-09 10:16:12 +01:00
Sébastien Loriot
9543deb304
Merge pull request #6046 from MaelRL/PM-Fix_pmaps_reference_types_master-GF
...
Various fixes for property maps (master)
2021-10-29 17:40:15 +02:00
Sébastien Loriot
3cf45cb83b
update image path
2021-10-29 17:24:44 +02:00
Laurent Rineau
ca89949169
Merge pull request #5597 from lrineau/Mesh_3-weighted_images-GF
...
Mesh_3: Add weighted images
2021-10-29 17:01:33 +02:00
Laurent Rineau
7b9113ac0c
Merge pull request #6034 from sloriot/CGAL_data-moving_files
...
CGAL Data: doc + more data moves
2021-10-29 17:00:07 +02:00
Laurent Rineau
bb7253638e
Merge pull request #6040 from lrineau/Mesh_3-remove_const_in_Set_of_indices-lrineau
...
CGAL/Mesh_3/experimental/AABB_filtered_projection_traits.h: Remove boost::remove_const<..> from the index type
2021-10-29 16:59:59 +02:00
Laurent Rineau
aca24f489b
Merge pull request #6054 from janetournois/Mesh_3-uninitialized_warnings-GF
...
Mesh_3 - fix maybe uninitialized warning
2021-10-29 16:59:45 +02:00
Jane Tournois
70ad367964
add CMake warning when ITK is not found
2021-10-29 12:27:04 +02:00
Jane Tournois
0498cace68
add and use CGAL_ITK_support.cmake
2021-10-29 12:27:04 +02:00
Jane Tournois
b664ee54c3
workaround deprecation warning of versions < 5 of ITK
2021-10-29 12:27:04 +02:00
Jane Tournois
a9318b3832
fix maybe uninitialized warning
2021-10-15 09:48:54 +02:00
Sébastien Loriot
fab7c364fd
function is in the IO namespace
2021-10-13 17:49:50 +02:00