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
27cece3914
Merge pull request #6970 from MaelRL/SMP-Fix_ARAP_post_process-GF
...
Fix weights in ARAP parameterization's post processing
2022-11-02 16:18:58 +01:00
Mael Rouxel-Labbé
2a679483b2
Fix ARAP post processing
...
The formula of weights is "- tan(theta / 2) / length", with:
tan ( theta / 2 ) = sin ( theta ) / ( 1 + cos ( theta ) )
= ( 2 * A / |v1| * |v2| ) / ( 1 + v1 . v2 / |v1| * |v2| )
= 2 * A / ( |v1| * |v2| + v1 . v2 )
with A the _unsigned_ area.
2022-10-16 16:22:29 +02:00
Mael Rouxel-Labbé
2fe82ec9d9
Add an example for ARAP parameterization
2022-10-16 16:22:15 +02: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
ae8101d615
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:14:09 +02:00
Laurent Rineau
28e6e7249f
5.4.x-branch now targets CGAL-5.4.4
2022-10-12 15:28:35 +02:00
Laurent Rineau
e5687eb69f
Merge pull request #6918 from lcaraffa/Triangulation-is_valid-lc
...
Triangulation_d: fix invalid triangulation after I/O
2022-10-07 15:46:11 +02:00
Laurent Rineau
437dbf82a9
Merge pull request #6925 from MaelRL/OBB-Do_not_use_void_as_default-GF
...
Do not use `void` as default for the geometric traits if Eigen is not present
2022-10-07 15:46:08 +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
Mael Rouxel-Labbé
60d50a8b57
Fix not purging to-be-border halfedges from edges-to-collapse sets
2022-10-04 22:57:37 +02:00
Laurent Rineau
207a1e896b
Merge pull request #6796 from janetournois/Mesh_3-compare_distance_performance_issue-jtournois
...
Mesh_3 speedup (filter failures in `Compare_distance_3(Point_3, Segment_3, Point_3)` )
2022-10-04 13:48:18 +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
fef4d1b43b
Merge pull request #6863 from lrineau/Polyhedron-demo_fix_display_of_protecting_spheres-GF
...
Polyhedron demo - Fix the display of protecting balls (second version)
2022-10-04 13:48:13 +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
Laurent Rineau
b8b8d98281
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:48:08 +02:00
Sébastien Loriot
29d543c9f4
remove tabs
2022-10-04 09:16:32 +02:00
Sébastien Loriot
96b205d9b0
add test from issue #5275
2022-10-03 18:55:44 +02:00
Laurent Caraffa
18ed302d84
set full_cell of a vertex in I/O
2022-10-03 18:48:43 +02:00
Laurent Caraffa
31714289b5
testing validity shows that td i/o is not valid
2022-10-03 18:48:43 +02:00
Laurent Rineau
8fddaa6baa
Mesh_3: Fix a memory leak in the parallel code
2022-10-03 17:15:27 +02:00
Mael Rouxel-Labbé
71e51b5678
Do not use `void` as default for the geom_traits
...
This change is caused by the improvement of Lookup_named_param_def which added
support for reference named parameters:
aaa3947e40
Despite not being required, compilers will try to compile the `::reference`
branch if Eigen is not present, and complain about the type `Default& == void&`
Changing it to `CGAL::Default` will solve that, and align it with what
is done in other packages such as Surface_mesh_parameterization
2022-10-03 15:08:12 +02:00
Mael Rouxel-Labbé
9e0a71f7ad
Actually cube the threshold value for the volume bound
2022-09-28 13:50:43 +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
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
Sébastien Loriot
495f2e316a
add default copy constructor and operator=
2022-09-21 18:59:18 +02:00
Laurent Rineau
3b6b6f9018
Polyhedron demo - Fix the display of protecting balls
2022-09-20 16:15:49 +02:00
Jane Tournois
8c09f72039
add debug code
2022-09-20 15:54:54 +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
Laurent Rineau
e93011ae2a
Merge pull request #6779 from sloriot/Intersections_3-better_tetra_tri
...
Simpler implementation of Tet vs. Tri intersection
2022-09-13 12:31:37 +02:00
Laurent Rineau
4934f2b2e3
Merge pull request #6809 from lrineau/Filtered_kernel-fix__do_intersect__Bbox_3__Triangle_3__static_filters-GF
...
Fix static filter of Do_intersect_3(Bbox_3,Triangle_3)
2022-09-13 12:31:34 +02:00
Laurent Rineau
df16e3273e
Merge pull request #6812 from sloriot/PMP-split_visitor
...
add missing visitor calls in PMP::split()
2022-09-13 12:31:32 +02:00
Sebastien Loriot
d896940470
Cosmetic changes
...
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
2022-09-07 16:08:58 +02:00
Mael Rouxel-Labbé
bc9aa692c3
Add a few more tests to Tr-Tet
2022-09-07 16:00:59 +02:00
Sébastien Loriot
f0f01b70ba
remove trailing whitespace
2022-09-07 08:44:42 +02:00