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
Mael Rouxel-Labbé
8837f12cf8
Fixed some bare_point / weighted point types
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
062329bae5
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-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
ff53d883e3
Added point type to the doc of alpha shapes 2/3
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
29d5475ee8
Fixed Point type in Alpha_Shapes_2
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
bd48345018
Removed a Regular_triangulation_euclidean_traits_2 include
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
4bdce33bcc
Made Alpha Shapes 2 output functions readable (no real changes)
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
969934ee2f
Fixed inaccessible functions
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
e2085b3719
Cleaning regular-related KDS files
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
3f90129193
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-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
94b16947b3
Improved typedef readability
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
480560e8b9
regular triangulation uses the weighted point table
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
5b82ea6026
Restored some debug code to complete state
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
347e5324d3
Fixed point types before predicate
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
a52bd9474b
Cleaning the code of some kinetic data structure files
...
Trailing whitespace, indentation, extra ';', ugly typedefs etc.
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
c30d609e19
Fixed some point types
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
d25c2f15ef
Cleaned instantaneous_adaptor
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
c4134a817d
Removed useless comment
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
62d5587efe
Fixed type
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
4eda51927d
random_kds's regular triangulations must use weighted point tables
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
cb3b8f0cc2
Fixed types in Cartesian_moving_weighted_point
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
79f5ca0244
Fixed some predicates
...
-- traits must have Construct_point_2/3 now
-- renamed power_test to satisfy the new convention
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
c3115389e2
Kinetic regular example must use the weighted points table
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
f3b8c0f657
Kinetic regular vertex/cell base must inherit the Cgal::regular_tri vertex/cell base
...
and not simply the cgal::tri_vertex/cell_base
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
ca849ebf44
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-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
60280d5ac8
Added missing data file
...
Some tests actually tested nothing...
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
782d6b6776
Check if ifstream is well formed
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
a2f5f64fc3
Annihilated Regular_triangulation_euclidean_traits_23 across all packages
...
Left a little bit alive in the tests and in the Triangulation_23/doc
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
9a2f8c0915
Reworded warning about implicit and explicit conversions of Points/Weighted_points
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
245a9549cb
TriangulationTraits_23 refine SpatialSortingTraits_23 for Hilbert sorting
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
f636d0d070
Made Kernel_checker work with constructions
...
Basically, use the same Pairify class to deduce the return type.
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
8edb36dd64
Aesthetic fix
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
f791b65a42
Fixed generic_random_test
...
-- used proper types
-- removed useless stuff
-- made readable
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
2411a37252
MyConstruct_point_2 must also provide `Point_2 operator()(Point_2)`
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
2e7327f5ef
Fixed Bare_point / Weighted_point usage in /Generator includes
...
Along the way, improved the implementation of two generators
-- easier to read
-- correct types (the generator returns bare_points, not weighted_points)
-- better function names
-- do not default-construct traits class
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
6e3e357a70
Add Construct_point_2 to Triangulation_indirect_traits_2
...
Needed to satisfy the TriangulationTraits_2 concept
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
03716b484d
Clean off useless comment
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
fc3325b0d8
Removed mentions of now deleted qt widget
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
653ba35864
Fix return type of Apply_approx_sqrt
...
1. Should try to remove any reference so we get a proper value type
2. it's result_of(const T&) not result_of(T)
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
ccddcd37de
Add constructors to Apply_approx_sqrt
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
25f5a39e03
Minor doc fix
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
e6ef13b42f
Fixed doc of Random_points_in_triangle_mesh_3
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
58cd3756e4
Fixed wrong point type in regular adaption traits
2017-06-08 13:23:10 +02:00
Mael Rouxel-Labbé
4921ae8de5
SDG vertex base must define a Point type to satisfy TriangulationVertexBase_2
2017-06-08 13:23:10 +02:00