Commit Graph

73788 Commits

Author SHA1 Message Date
Mael Rouxel-Labbé 3abbace437 Minor improvements to P3T3's tests
-- It's a bit dangerous to take random points in the complete periodic domain
   because insert(p) should have p in the original domain and half the border
   of the periodic domain is open
-- Cleaned some unused variables
2017-06-14 17:46:53 +02:00
Mael Rouxel-Labbé ed9562e565 Fixed P3DT3 test
find_conflicts() can't (in fact, only "shouldn't") be called on points
that are not in the original domain
2017-06-14 10:14:09 +02:00
Mael Rouxel-Labbé 1fb7b2d9f8 Cleaned unused variable 2017-06-14 10:08:24 +02:00
Mael Rouxel-Labbé 5955f9c7c0 Merge branch 'Periodic_3_Regular_triangulation_3-APelle-old' into Periodic_3_Regular_triangulation_3-APelle
Based on Kernel_Weighted_point_without...
  @ 67c531af53
2017-06-08 14:37:26 +02:00
Mael Rouxel-Labbé 67c531af53 Minor changes to changes.html 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé 4cd55cf6e7 Added RegTrCellBaseWithWeightedCircumcenter changes to changes.html 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé d5175e0e2e Minor doc changes 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé 0b9b8ea4ee Renamed Compact_mesh_cell_base_3's circumcenter_ to weighted_circumcenter_ 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé 7fd475eb88 Renamed uses of invalidate_circumcenter() in accordance with the modified concept 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé c1693b9a75 Adapted the documentation to the new concept RegTrCellBaseWithWeightedCircumcenter
- MeshCellBase_3 loses "invalidate_circumcenter" and refines the new concept
- Reg_tr_cell_base_with_weighted_circumcenter_3 is a model of the new concept
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé f7f7aad77d Added new concept RegularTriangulationCellBaseWithWeightedCircumcenter_3
Describes the requirements of a base cell that caches its weighted circumcenter
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé 82578854e6 Added Alpha Shapes 2D breaking changes to changes.html 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé bba09f3319 Fixed Robust_weighted_[...]_traits offering a weighted API for squared_radius_3
This is artifically creating implicit conversions, which we are removing
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé 2e0f4d3e9f Improved changes.html 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé 1b74c898bb Fixed point / weighted_point usage 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé 89a85923bd Fixed missing dependency in T3's documentation 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé f59c5b2be5 Updated changes.html 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé a3e66e1ad7 Minor doc improvements to T2 documentation 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé 9ac919dc9c Fixed Point / Point_3 issues in T3 and improved the documentation
-- Do not use concept names as template names in the doc
-- Fixed point / point_3 issues and other problems of coherence between concept
and model
-- Fixed some wrong refinement relationships
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé 0612d97862 MeshVertexBase_3 must refine RegularTriangulationVertexBase_3
and not TriangulationVertexBase_3
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé 98b8792976 Cosmetic changes to MeshCellBase_3 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé 8bd702754d Cleaned off Weighted_alpha_shape_euclidean_traits_2 from the ipelet demo 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé 68b64cf02b Fixed the concept MeshCellBase_3
The surface center is not of type Tr::Point, but Tr::Bare_point.
Added to changes.html
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé 5f1ba08d52 Fixed minor mistakes from a rebase 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé 5199041815 Fixed Point typedef in Triangulation_3 doc 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé 7b47b8f9e1 Fixed documentation of Regular cell bases
-- Regular_triangulation_cell_base_3 must document hidden_points handling
functions

-- Regular cell bases must document their Point type
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé 50c5385015 Cleaned Weighted_point_mappers from the documentation 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé f5ef8f63d4 Removed obsolete class Creator_weighted_point_3.h 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé 6ba16346c8 Fixed boost/core/is_same.hpp > boost/type_traits/is_same.hpp 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé b6f51dab83 Forgot compact_mesh_cell_base in f2a308d
That is, making cell_bases models of the concept RegularTriangulationCellBase_3
2017-06-08 13:23:10 +02:00
Jane Tournois 9eb6fdb053 really use the GT given as a parameter
When the geom_traits given as parameter of `circumcenter` and/or
`weighted_circumcenter` was deriving from the cell base GT
(first template parameter), the gt was up-casted to the
cell base GT, and the function construct_circumcenter_3_object()
(or construct_weighted_circumcenter_3_object()) not
called on the right geom traits type --> possibly missing
the actual input of the function (the robust_circumcenter_traits in Mesh_3)

we add a static assert to check at compile time that point types are the same
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé edab9775b9 Fixed using default templated class functions 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé 966c5554d5 Fixed abusive class member initialization 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé 42469ac33a Fixed wrong template type (which induced taking references of references) 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé 9b51a472f6 Added result_types to triangulation 2 test traits 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé b31ef300d2 Fixed missing include 2017-06-08 13:23:10 +02:00
Jane Tournois f2bd654c26 really use the GT given as a parameter
When the geom_traits given as parameter of `circumcenter` and/or
`weighted_circumcenter` was deriving from the cell base GT
(first template parameter), the gt was up-casted to the
cell base GT, and the function construct_circumcenter_3_object()
(or construct_weighted_circumcenter_3_object()) not
called on the right geom traits type --> possibly missing
the actual input of the function (the robust_circumcenter_traits in Mesh_3)

we add a static assert to check at compile time that both geom traits
are compatible
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé a6857ae2e4 Changed boost/core/enable_if.hpp to boost/utility/enable_if.hpp 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé 31f1d76fb7 Fixed starting template parameters with <:: 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé 84c830d25f Trimmed Construct_point_23's note in TriangulationTraits_23 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé 571057f995 Modified changes.html 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé c0e18352f0 Fixed regular cell bases so they actually model the concept
Also, they should not use Bare_point / Weighted_point types, which are defined
in the triangulation (much later during compilation).
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé c088a7d9e5 Aligned the concept RegularTriangulationCellBase_3 with other similar concepts
That is, it should define the type `Point` (instead of `Weighted_point`), like
in TriangulationVertexBase_3 and RegularTriangulationVertexBase_3.
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé f2ec162b4f Clarified some documentation about the usage of Construct_point_23 in TTraits_23 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé fe53d22fa5 Modified changes.txt 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé e83d9852a9 EMST based on regular uses edges weighted with the power distance
Assuming an EMST based on a regular triangulation makes sense, it should be
coherent in its distance: in the Delaunay version, we use the Euclidean
distance, so the power distance should be used for the regular triangulation
version.
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé e451496ed6 Regular_triangulations are built using weighted points 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé e861cc0f61 Fixed Has_nested_type_Bare_point includes 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé 375bd63e23 Fixed bare_point / weighted_point issue 2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé 273b56a187 Generated random weights for random regular triangulations
building regular triangulations with non-uniform weights is slightly more
interesting
2017-06-08 13:23:10 +02:00