Commit Graph

72830 Commits

Author SHA1 Message Date
Mael Rouxel-Labbé 7185d8fec0 Fixed boost/core/is_same.hpp > boost/type_traits/is_same.hpp 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 757c18868b Forgot compact_mesh_cell_base in f2a308d
That is, making cell_bases models of the concept RegularTriangulationCellBase_3
2017-05-22 11:27:02 +02:00
Jane Tournois 61aa1716af 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-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 8ab41b37db Fixed using default templated class functions 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé bc54384c8b Fixed abusive class member initialization 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 9debfdfd78 Fixed wrong template type (which induced taking references of references) 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 4e9fd5e89e Added result_types to triangulation 2 test traits 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé e05211c0cd Fixed missing include 2017-05-22 11:27:02 +02:00
Jane Tournois c37857bd9e 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-05-22 11:27:02 +02:00
Mael Rouxel-Labbé ecd7bbdc3e Changed boost/core/enable_if.hpp to boost/utility/enable_if.hpp 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 8018a6277c Fixed starting template parameters with <:: 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 550920dc80 Trimmed Construct_point_23's note in TriangulationTraits_23 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 512f96f9ef Modified changes.html 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 768b3f5b02 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-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 63281390f8 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-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 29b6f370a3 Clarified some documentation about the usage of Construct_point_23 in TTraits_23 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 7392999820 Modified changes.txt 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 4f3beae7e0 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-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 60c161ace1 Regular_triangulations are built using weighted points 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 70e1ac97f6 Fixed Has_nested_type_Bare_point includes 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 31ca9ee565 Fixed bare_point / weighted_point issue 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 55010319fb Generated random weights for random regular triangulations
building regular triangulations with non-uniform weights is slightly more
interesting
2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 3e4f46d7fe Fixed some bare_point / weighted point types 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 40cdd08cdd Fixed point types
Not that since Weighted_point_2 does not have a constructor with 3 FT (since
it makes it confusing with the homogeneous kernel), the random generator
generates weightless points...
2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 35f94ad791 Added point type to the doc of alpha shapes 2/3 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 284819561f Fixed Point type in Alpha_Shapes_2 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 3af7737ccb Removed a Regular_triangulation_euclidean_traits_2 include 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé f3c2b5679d Made Alpha Shapes 2 output functions readable (no real changes) 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 61577c3122 Fixed inaccessible functions 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 0c9e31003d Cleaning regular-related KDS files 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 04a4e74671 Introduced class Default_instantaneous_mapped_kernel
In KDS, predicates will call rep->static_object() on Point_3 (say, e.g.,
for an orientation predicate). If the triangulation is a regular triangulation,
the points are weighted and are thus in the weighted point table.

Since we don't want to store and maintain the bare points in the point table,
we use this class, which redirects the calls to static_object() and
kinetic_object() that would query the table points to instead query the
weighted points table and return the appropriate bare point.
2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé b47b329d42 Improved typedef readability 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 7b3e6f6026 regular triangulation uses the weighted point table 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 1ebe169a5c Restored some debug code to complete state 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé f1a3117af5 Fixed point types before predicate 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé f211b4a601 Cleaning the code of some kinetic data structure files
Trailing whitespace, indentation, extra ';', ugly typedefs etc.
2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé d7c36d877f Fixed some point types 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé dd01237d3f Cleaned instantaneous_adaptor 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 8b33ba8d03 Removed useless comment 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 443dc9fc07 Fixed type 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé b0e81c8ba7 random_kds's regular triangulations must use weighted point tables 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 034e7407c1 Fixed types in Cartesian_moving_weighted_point 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 6e6defa751 Fixed some predicates
-- traits must have Construct_point_2/3 now
-- renamed power_test to satisfy the new convention
2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 90e796a021 Kinetic regular example must use the weighted points table 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 88d0fd38e0 Kinetic regular vertex/cell base must inherit the Cgal::regular_tri vertex/cell base
and not simply the cgal::tri_vertex/cell_base
2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 82d27a6b04 Restored active_weighted_points_3_table_handle()
Can't abuse active_points_3_table by camouflaging weighted points in it because
we need a separate point and weighted point type (since we do not want to
redefine all predicates less_x_3 for weighted points)
2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé b4c5773aa4 Added missing data file
Some tests actually tested nothing...
2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé b27cb99e80 Check if ifstream is well formed 2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 22322e3c83 Annihilated Regular_triangulation_euclidean_traits_23 across all packages
Left a little bit alive in the tests and in the Triangulation_23/doc
2017-05-22 11:27:02 +02:00
Mael Rouxel-Labbé 0b38b4f82e Reworded warning about implicit and explicit conversions of Points/Weighted_points 2017-05-22 11:27:02 +02:00