Commit Graph

1330 Commits

Author SHA1 Message Date
Mael Rouxel-Labbé dea58ffe38 Fixed various Bare_point / Weighted_point usage across Mesh_3
Hopefully, this is the last batch
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé c3b8870b5b Moved facet dual computation functions from Mesh_3 to Regular_triangulation_3
... and improved them and gave them more overloads
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé ff52451690 Moved up the force_exact test to avoid computing useless determinants 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé 96ec1bd7f0 Removed useless includes 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé da5c683e76 Cleaned uses of obsolete traits class Regular_triangulation_euclidean_traits 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé 866948aae1 Removed useless semicolon 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé 338c5746a5 Fixed (almost all) default constructed traits in Mesh_3
Also fixed constructing points/weighted_points not through the traits and
uses of point().point()
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé ef20f3a750 Fixed (remaining) Bare_point / Weighted_point wrong usages across Mesh_3 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé c52f8ff97d Removed Bare_point definition from Mesh_3's Robust_weighted_...etc..._traits
It is not for the traits to define Bare_point. It is defined in the regular
triangulation.

This commit breaks stuff, but it'll be fixed in the following commits.
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé 53ee1c8608 Removed useless semicolon 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé d355221b9c Minor doc improvement 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé c1789207f1 Fixed compilation issues resulting from the removal of WP->P implicit conversion 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé 98ae96281e Consistently grab the Bare_point typedef from the triangulation
instead of the geometric traits
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé 2099041a30 Fixed missing typedef
and removed some warnings due to unused typedefs
2017-06-08 13:23:10 +02:00
Jane Tournois 042915b26d remove useless variables 2017-06-08 13:23:10 +02:00
Jane Tournois 5eb6f6ede4 remove extra reference
this was leading to (fp == p), and no way to move back to the original
position of v0
2017-06-08 13:23:10 +02:00
Jane Tournois 67a039dddc return type should be Bare_point 2017-06-08 13:23:10 +02:00
Jane Tournois 04506a68ee fix one more Bare_point 2017-06-08 13:23:10 +02:00
Jane Tournois 815e6d6353 make constructors of Weighted_point explicit
and fix compilation errors
2017-06-08 13:23:10 +02:00
Andreas Fabri 209776f628 make the Polyhedron demo mesh_3_plugin work 2017-06-08 13:23:10 +02:00
Jane Tournois f16e0be13a avoid using wp.point(), use Construct_point_3 instead 2017-06-08 13:23:10 +02:00
Jane Tournois 9db380570f remove hybrid operators, that use Bare points and Weighted points in an ambiguous manner
this commit only fixes the testsuite of Mesh_3
2017-06-08 13:23:10 +02:00
Andreas Fabri f2033e1140 Now also the examples compile 2017-06-08 13:23:10 +02:00
Andreas Fabri a307b3f60a WIP: test_meshing_polyhedron_with_features compiles and crashes in odt 2017-06-08 13:23:10 +02:00
Andreas Fabri d9b41d9a0e Consistently use Bare_point and Weighted_point 2017-06-08 13:23:10 +02:00
Andreas Fabri 0cacadc042 Disable Point_3(const Weighted_point_3&) 2017-06-08 13:23:10 +02:00
Laurent Rineau 31f277dc93 Merge pull request #2072 from janetournois/Mesh_3-improvements-GF
Mesh 3 : small improvements
2017-05-22 10:59:48 +02:00
Laurent Rineau 9c873a799a Merge pull request #2098 from janetournois/Polyhedron_demo-small_fixes-GF
Polyhedron demo : two small fixes
2017-05-19 10:29:34 +02:00
Laurent Rineau 631bc832f8 Merge pull request #2115 from afabri/Mesh_3-TBB_hash_pair-GF
Mesh_3: Address TBB performance warning on hashing
2017-05-19 10:26:49 +02:00
Laurent Rineau 50eafbd21f Merge pull request #1920 from d1saster/Cell_criteria_visitor_with_features
Mesh_3: Allow AbstractCriterion to be visited by Cell_criteria_visitor_with_f…
2017-05-19 10:26:29 +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