Commit Graph

92466 Commits

Author SHA1 Message Date
Maxime Gimeno 639a8b8e8e Add `,` in grid items name 2020-06-23 12:18:27 +02:00
Maxime Gimeno 688aaad4ac Fix CreateSelection(List) 2020-06-23 12:09:09 +02:00
Maxime Gimeno 2789644b71 Merge branch 'GraphicsView-Fix_qt_deprecated_code-maxGimeno' into Demo-Fix_selection_of_many_object-maxGimeno 2020-06-23 10:41:06 +02:00
Maxime Gimeno 50e2539bd7 Add CGAL:: before compare() to avoid miximg up the functions 2020-06-22 13:44:37 +02:00
Sébastien Loriot 035b8786b9 remove tws 2020-06-22 09:53:13 +02:00
Laurent Rineau 269d1f3505
Fix trailing whitespace 2020-06-19 15:55:46 +02:00
Maxime Gimeno f221f4ba4a Try to add CGAL::CGAL_Image_IO to the linked target to fix LINK error on MSVC 2019 2020-06-19 15:53:50 +02:00
Maxime Gimeno cfc907e6a3 More fixes 2020-06-19 15:14:21 +02:00
Maxime Gimeno 83fed40f0b Fix unknown behavior that changed in Visual 2019 2020-06-19 14:45:32 +02:00
Jane Tournois d4b7af22ba use tr_.try_lock_and_get_incident_cells()
and remove a "todo" of CJ
2020-06-19 13:31:52 +02:00
Jane Tournois 13c0719e87 fix incident_edges_threadsafe
internal::Has_member_visited<Vertex>::value is not threadsafe
2020-06-19 13:31:52 +02:00
Jane Tournois 3b8c06f836 fix adjacent_vertices_threadsafe
internal::Has_member_visited<Vertex> is not threadsafe
2020-06-19 13:31:52 +02:00
Jane Tournois daaf92d0ac rename make_canonical() to make_canonical_oriented_triple()
to make it more explicit
2020-06-19 13:31:51 +02:00
Jane Tournois f55ffabbe0 add an assertion in make_canonical
it also helps to make the code more explicit
2020-06-19 13:31:51 +02:00
Jane Tournois 7cd18cd659 unlock after the move, even if there is no topological change
to avoid making changes with another thread
2020-06-19 13:31:50 +02:00
Jane Tournois ad9c357f33 add adjacent_vertices_threadsafe and use it in nearest_power_vertex() 2020-06-19 13:31:50 +02:00
Jane Tournois c6a922c9dc fix Facet_updater parallel
`vertex_to_proj` was not locked and this was causing seg faults
2020-06-19 13:31:49 +02:00
Michael Hemmer 9ea41185f0
Update Tetrahedron_3_Bounded_3_do_intersect.h
Going back to 
  if (certainly(b)) return b;
  if (is_indeterminate(b)) result = b;

as there seems to be a compiler issues
2020-06-19 12:56:04 +02:00
Michael Hemmer 241737bf0d
Update Tetrahedron_3_Bounded_3_do_intersect.h
Using certainly(result) to have early exit.
2020-06-19 11:42:40 +02:00
Mael Rouxel-Labbé f6053b950f Mirror new NP changes to Doxygen resources 1.8.4 and 1.8.13 2020-06-18 14:18:41 +02:00
Maxime Gimeno 3003fb308f More flags warnings 2020-06-18 13:35:40 +02:00
Mael Rouxel-Labbé 26eb7903aa Merge remote-tracking branch 'cgal/master' into CGAL-Improve_NP_doc_presentation-GF 2020-06-18 12:46:46 +02:00
Laurent Rineau a1ea396196 Patch for MacOS
https://stackoverflow.com/a/21118126/1728537

> You can use
>
>     brew install coreutils
>
> And then whenever you need timeout, use
>
>     gtimeout
2020-06-17 12:38:59 +02:00
Laurent Rineau 7c8bb622a7 Whitespace fixes 2020-06-17 12:35:42 +02:00
Laurent Rineau 3468c7bf32 Use `timeout` if available, instead of a system of sleep/kill
The GNU coreutils software
[timeout](https://man7.org/linux/man-pages/man1/timeout.1.html) is
a perfect replacement for our buggy function `wait_for_process`.

This patch uses it when available. On Linux, brew, Cygwin, it is
available in the `coreutils` package.
2020-06-17 12:31:36 +02:00
Laurent Rineau e44d58a49c Fix a bug in this PR
The number of type in `Indices_tuple` and `Index` may differ: one is a
list of types, and the other one is more like a set of types.
2020-06-17 10:22:51 +02:00
Sébastien Loriot ab12e31bec please doc 2020-06-17 08:33:50 +02:00
Sebastien Loriot 802fa469d5
Apply suggestions from code review
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
2020-06-17 08:10:32 +02:00
Laurent Rineau 86496e469e Repair the I/O of Mesh_vertex_3 2020-06-16 21:56:07 +02:00
Laurent Rineau b64a1718c4 Reduce size of symbols (and debug infos)
- one nested struct `Tds` in `Mesh_triangulation_3`,
- rework of `Mesh_vertex_base_3` and `Compact_mesh_cell_base_3`.

That reduction of debug infos and size of symbols will help the IDE
and debuggers.

```
Debug info size (with gcc-9, and `-g`)

ORIG	AFTER	RATIO  		FILE IN examples/Mesh_3/
56532	55572	1.01727		mesh_3D_image_with_custom_initialization.debug
64696	63420	1.02012		mesh_cubes_intersection_with_features.debug
56700	55536	1.02096		mesh_3D_image.debug
56488	55324	1.02104		mesh_implicit_sphere.debug
56496	55332	1.02104		mesh_implicit_sphere_variable_size.debug
56776	55604	1.02108		mesh_3D_image_variable_size.debug
56520	55296	1.02214		mesh_cubes_intersection.debug
56684	55428	1.02266		mesh_3D_gray_image.debug
56796	55536	1.02269		mesh_3D_gray_image_multiple_values.debug
56732	55472	1.02271		mesh_3D_gray_vtk_image.debug
57128	55824	1.02336		mesh_optimization_example.debug
57420	56088	1.02375		mesh_optimization_lloyd_example.debug
56948	55560	1.02498		mesh_implicit_domains_2.debug
56932	55544	1.02499		mesh_implicit_domains.debug
69160	63304	1.09251		mesh_hybrid_mesh_domain.debug
72212	66088	1.09266		mesh_3D_image_with_features.debug
70172	63924	1.09774		mesh_two_implicit_spheres_with_balls.debug
75388	66128	1.14003		mesh_polyhedral_domain_sm.debug
75676	64412	1.17487		mesh_polyhedral_complex_sm.debug
81544	67772	1.20321		mesh_polyhedral_domain.debug
87456	71672	1.22023		mesh_polyhedral_domain_with_features_sm.debug
87524	71600	1.2224		remesh_polyhedral_surface_sm.debug
92332	74528	1.23889		mesh_polyhedral_complex.debug
98640	77448	1.27363		mesh_polyhedral_domain_with_lipschitz_sizing.debug
95640	74456	1.28452		mesh_polyhedral_domain_with_features.debug
95132	74000	1.28557		mesh_polyhedral_domain_with_surface_inside.debug
95724	74388	1.28682		remesh_polyhedral_surface.debug

1899448	1695256	1.12045		total
```
2020-06-16 17:47:00 +02:00
Mael Rouxel-Labbé e720e6d585 Avoid bad (self-intersecting) patches even in the last case
Usually worsens the result without any benefit
2020-06-16 16:41:49 +02:00
Mael Rouxel-Labbé 5b9a3f8dd8 Also count unsolved cases 2020-06-16 16:40:46 +02:00
Mael Rouxel-Labbé e66bdf0029 Don't attempt to hole fill if the border is not simple 2020-06-16 16:40:14 +02:00
Mael Rouxel-Labbé f216f00dda Add is_simple_3(HalfedgeRange) 2020-06-16 16:39:07 +02:00
Sébastien Loriot b9a12bf901 update doc 2020-06-16 16:36:10 +02:00
Sébastien Loriot 5059191534 remove tabs + update doc 2020-06-16 16:30:02 +02:00
Sébastien Loriot fd72d53d5f test do_not_modify 2020-06-16 16:15:09 +02:00
Sébastien Loriot 9eb7a9da85 avoid filling the maps 2020-06-16 15:25:42 +02:00
Sébastien Loriot e43221ae8b add an option to not refine one of the two meshes 2020-06-16 15:15:48 +02:00
Laurent Rineau 5a02f47c56 Merge branch 'releases/CGAL-5.0-branch' 2020-06-16 11:55:32 +02:00
Laurent Rineau 89aa1daba1 Merge branch 'releases/CGAL-4.14-branch' into releases/CGAL-5.0-branch 2020-06-16 11:53:23 +02:00
Sébastien Loriot 2fe78166ea make Straight_skeleton class copy-constructible as documented 2020-06-16 11:40:52 +02:00
Maxime Gimeno 5976ee98e9 Fix Arrangement_2_demo 2020-06-16 09:06:34 +02:00
Efi Fogel 33b8d552e7 Fixed a bug of non-linear curves (when make-x-monotone produces more than one item) 2020-06-15 20:12:11 +03:00
Efi Fogel f73d067658 acified clang 2020-06-15 20:11:46 +03:00
Laurent Rineau 7e12992ee0 Missing #include 2020-06-15 17:12:04 +02:00
Laurent Rineau 9d16a42257 Fix ambiguous comparisons error with C++20 2020-06-15 17:07:35 +02:00
Efi Fogel b066815b4d Merge branch 'Aos_2-remove_object-efif' of github.com:efifogel/cgal into Aos_2-remove_object-efif 2020-06-15 17:22:19 +03:00
Efi Fogel fdffdef85e Introduced Make_x_monotone_2 functor to convert CGAL::Object objects obtained from the circular kernel to variant 2020-06-15 17:21:17 +03:00
Efi Fogel e8f81ff4fc Cleaned up 2020-06-15 17:21:02 +03:00