Commit Graph
1301 Commits
Author SHA1 Message Date
Laurent Rineau d9bc11f294 Merge pull request #2072 from janetournois/Mesh_3-improvements-GF
Mesh 3 : small improvements
2017-05-22 10:59:47 +02:00
Laurent Rineau db8732b10a Merge pull request #2098 from janetournois/Polyhedron_demo-small_fixes-GF
Polyhedron demo : two small fixes
2017-05-19 10:27:00 +02:00
Laurent Rineau b0317354e7 Fix the recent regression: bad use of geodesic_distance with cycles 2017-05-18 11:58:45 +02:00
Laurent Rineau a67462a4c7 Cosmetic: rename get_size to get_radius 2017-05-18 11:58:45 +02:00
Laurent Rineau 415fb5e49d Better display of vertices with time stamps 2017-05-18 11:58:44 +02:00
Jane Tournois 9efe48a581 replace distance with geodesic_distance to better fit the polylines 2017-05-18 11:58:44 +02:00
Laurent Rineau f1e4ca1b63 Display time stamps in CGAL_MESH_3_PROTECTION_DEBUG 2017-05-18 10:57:13 +02:00
Laurent Rineau 0757cfaeb0 Re-use existing time stamps
When a `Vertex` or a `Cell` is recycled by the `Compact_container`,
re-use the existing time stamp instead of increment it. That will avoid
that the pointee of a handle has a changing timestamp.
2017-05-18 10:57:13 +02:00
Andreas Fabri d1da889895 Mesh_3: Address TBB performance warning on hashing 2017-05-12 09:45:44 +02:00
Jane Tournois d88dd96207 fix compilation of detect_borders() 2017-05-04 17:03:15 +02:00
Jane Tournois 706b53b2c2 Revert "add missing reference"
This reverts commit 2cf7092715.

see commit c55e391f97
pull request #1911 from lrineau/Mesh_3-manifold_TBB-lrineau
2017-04-27 10:19:02 +02:00
Jane Tournois 3752043228 fix a bug in protection of a cycle
// In case we sample a full cycle, we want to add at least 2
// balls, equally distributed.

and add a warning when protection failed to terminate
2017-04-20 17:11:34 +02:00
Jane Tournois 6fc0c6c083 fix the bounding box of image domain
-1 is arbitrary and can be a lot too high compared to the scale of the image
2017-04-20 17:05:03 +02:00
Jane Tournois 2cf7092715 add missing reference 2017-04-20 16:57:05 +02:00
Laurent Rineau dce8bb77ba Merge pull request #2053 from cjamin/Mesh_3-code_improvements-cjamin
Mesh_3: code improvements + bug fix
2017-04-14 18:32:05 +02:00
Laurent Rineau 87c9afd486 Fix the compilation of individual headers
- in most cases, that was just adding missing #include
- I have removed the use of <CGAL/basic.h>
2017-04-13 15:56:51 +02:00
Laurent Rineau 93311493c4 Merge pull request #1998 from afabri/CGAL-test_license_check-GF
CGAL: Test the license check mechanism
2017-04-07 12:06:23 +02:00
Andreas Fabri 8cbbe0e165 Remove dependencies of Triangulation_3 on Triangulation_2 2017-04-06 11:08:37 +02:00
Laurent Rineau 2cbd2532bb Merge pull request #1911 from lrineau/Mesh_3-manifold_TBB-lrineau
Mesh 3: fix the manifold code with TBB
2017-04-05 17:02:00 +02:00
Laurent Rineau e1035a9477 Improve the debug output
and rename a function
2017-03-31 18:26:19 +02:00
Sebastien Loriot cce6932af9 Merge pull request #1947 from janetournois/Mesh_3-add_lipschitz_sizing-example-jtournois
Mesh_3 - add an example for `Lipschitz_sizing`
2017-03-16 11:03:33 +01:00
Jane Tournois 882893c9d9 remove empty file description 2017-03-16 10:37:58 +01:00
Jane Tournois a88efb4144 rename header protection macros, and include license headers 2017-03-14 10:58:46 +01:00
Jane Tournois 8a8827add0 remove useless file description 2017-03-14 10:35:00 +01:00
Jane Tournois 81b6084e98 fix compilation when CGAL_LINKED_WITH_TBB is not defined 2017-03-10 15:56:29 +01:00
Laurent Rineau ee1b7d7793 Reallow to compile without TBB 2017-03-10 15:42:09 +01:00
Laurent Rineau 38a064f582 Fix one_step() with TBB/manifold and mesh_3_plugin 2017-03-10 14:46:50 +01:00
Jane Tournois 964ed1d853 protect with CGAL_LINKED_WITH_TBB and Parallel_tag 2017-03-10 14:16:10 +01:00
Jane Tournois 2cd2173ba3 'erase' should not be done in parallel mode
it's useless anyway because the set is empty
2017-03-10 13:56:09 +01:00
Laurent Rineau 682d07825c Fix the namespace of tbb_hasher
`tbb_hasher` is called with ADL (Koenig-lookup).
2017-03-09 18:59:47 +01:00
Clement Jamin a5f9d4e3b7 Fix typo 2017-03-09 17:45:46 +01:00
Clement Jamin ddb2a41da2 Remove never-used code 2017-03-08 10:36:51 +01:00
Clement Jamin cecb8910d9 Use std::sort on batches when std::vector is used + code clean-up 2017-03-07 20:57:00 +01:00
Clement Jamin d2c3462334 Typo 2017-03-07 20:54:46 +01:00
Clement Jamin 1e645f4145 Rename function which had a confusing name + add comment 2017-03-07 19:48:36 +01:00
Laurent Rineau 2e7d96f87e Merge pull request #1934 from lrineau/Mesh_3-improve_Protect_edges_sizing_field-GF
Improve/fix Mesh_3/Protect_edges_sizing_field.h
2017-03-02 16:55:24 +01:00
Laurent Rineau 366ddb9513 Merge pull request #1939 from lrineau/Mesh_3-fix_determinism-GF
Fix non-determinism!
2017-03-02 16:54:50 +01:00
Laurent Rineau cb5b3acf98 Class Compare_handles_with_or_without_timestamps to replace hacks
Previously, each file was using its own implementation of the "compare
handle" function object. This commits adds a new class
`Compare_handles_with_or_without_timestamps` that checks the presence of
`Has_timestamp` in the pointed type, and provides a different
`operator()` depending on that.
2017-03-01 12:08:52 +01:00
Laurent Rineau 035a35e78f Fix non-determinism! 2017-02-28 19:19:59 +01:00
Jane Tournois c699d45e66 simplify lipschitz sizing for a polyhedral domain
it can be enriched later, once we have the multi-polyhedral domain

the complete code is in Lipschitz_sizing_experimental.h
2017-02-28 12:19:21 +01:00
Jane Tournois 0b0a063db3 reorder things to make example more clear 2017-02-28 11:32:53 +01:00
Jane Tournois 67dca100f4 write example for Lipschitz sizing
and adapt the code while multi-polyhedral surfaces is experimental
2017-02-28 10:38:44 +01:00
Jane Tournois 7bb355c4a3 add experimental per-subdomain lipschitz sizing field 2017-02-28 10:38:44 +01:00
Laurent Rineau 58481453f0 More debug possibilities 2017-02-27 15:27:11 +01:00
Laurent Rineau 9c88d16e7b Bug fix! 2017-02-27 15:27:11 +01:00
Jane Tournois 9668b1b6dd add missing abs 2017-02-27 15:27:11 +01:00
Laurent Rineau e28b298c99 Refactoring of Sizing_field_with_aabb_tree (API breakage too)
The refactoring allows to compute a better size of corners in a cycle.

... But the bug is still there on the nasty data set!
2017-02-27 15:27:11 +01:00
Jane Tournois e023fc9157 protect verbose code with macro CGAL_MESH_3_PROTECTION_DEBUG 2017-02-27 15:27:10 +01:00
Laurent Rineau 83f74c0448 Fix the sampling of protecting balls
The previous code never verified that the curve is inside the union of
balls. Now it does.
2017-02-27 15:27:10 +01:00
Jane Tournois 056309de5e allow to use the sizing field of curves more than once
the protecting balls placement algorithm is now allowed to use the sizing field
during 3 iterations, instead of 1. This allows it to fix most of the
forbidden intersections of spheres before switching to the constant size case

this commit relaxes the condition set
 in commit 051c55b08f2bfe5047eef1be1f70f0192b1c5c60
2017-02-27 15:27:10 +01:00