Mael Rouxel-Labbé
ec7efb6d70
Fixed Has_nested_type_Bare_point includes
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
16392c92d1
Fixed bare_point / weighted_point issue
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
07cefea41f
Generated random weights for random regular triangulations
...
building regular triangulations with non-uniform weights is slightly more
interesting
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
70635c46b2
Fixed some bare_point / weighted point types
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
af6009f46a
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-28 10:15:30 +02:00
Mael Rouxel-Labbé
7ce35c7538
Added point type to the doc of alpha shapes 2/3
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
c9551ca1ab
Fixed Point type in Alpha_Shapes_2
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
0a599bd23c
Removed a Regular_triangulation_euclidean_traits_2 include
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
a220ce40d5
Made Alpha Shapes 2 output functions readable (no real changes)
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
4f699efd8b
Fixed inaccessible functions
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
983dca6158
Cleaning regular-related KDS files
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
4004e99823
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-28 10:15:30 +02:00
Mael Rouxel-Labbé
3c5f251dc5
Improved typedef readability
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
2baa15294c
regular triangulation uses the weighted point table
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
e704759b9a
Restored some debug code to complete state
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
464dcf3a9e
Fixed point types before predicate
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
6502fbbb31
Cleaning the code of some kinetic data structure files
...
Trailing whitespace, indentation, extra ';', ugly typedefs etc.
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
4b443f855f
Fixed some point types
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
411ac121ef
Cleaned instantaneous_adaptor
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
b3d0565fff
Removed useless comment
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
2ba57b785c
Fixed type
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
249fecc7be
random_kds's regular triangulations must use weighted point tables
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
7e42666397
Fixed types in Cartesian_moving_weighted_point
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
58e427fcd8
Fixed some predicates
...
-- traits must have Construct_point_2/3 now
-- renamed power_test to satisfy the new convention
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
63611fe600
Kinetic regular example must use the weighted points table
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
ca47935c52
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-28 10:15:30 +02:00
Mael Rouxel-Labbé
2c9a759504
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-28 10:15:30 +02:00
Mael Rouxel-Labbé
daeead65a5
Added missing data file
...
Some tests actually tested nothing...
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
e68b523481
Check if ifstream is well formed
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
9fbf2720ce
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-28 10:15:30 +02:00
Mael Rouxel-Labbé
108830ec3e
Reworded warning about implicit and explicit conversions of Points/Weighted_points
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
52e366ebd3
TriangulationTraits_23 refine SpatialSortingTraits_23 for Hilbert sorting
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
6825ae2197
Made Kernel_checker work with constructions
...
Basically, use the same Pairify class to deduce the return type.
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
207f46cbee
Aesthetic fix
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
920fe90f0d
Fixed generic_random_test
...
-- used proper types
-- removed useless stuff
-- made readable
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
3170393ea9
MyConstruct_point_2 must also provide `Point_2 operator()(Point_2)`
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
4968b7706b
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-28 10:15:30 +02:00
Mael Rouxel-Labbé
54be2d8206
Add Construct_point_2 to Triangulation_indirect_traits_2
...
Needed to satisfy the TriangulationTraits_2 concept
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
13f73849c4
Clean off useless comment
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
edcf670beb
Removed mentions of now deleted qt widget
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
6323afb788
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-28 10:15:30 +02:00
Mael Rouxel-Labbé
33bc47d4b7
Add constructors to Apply_approx_sqrt
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
60f95748a4
Minor doc fix
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
096627742f
Fixed doc of Random_points_in_triangle_mesh_3
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
d45a77add8
Fixed wrong point type in regular adaption traits
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
e0bdb6a9ac
SDG vertex base must define a Point type to satisfy TriangulationVertexBase_2
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
fba90bcd32
Fixed segment Delaunay graph concepts
...
SDG inherits from T2, so the concepts must refine T2's
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
41d9ea692d
Fixed refinement relationship in Apollonius_graph_2
...
AG2 inherits T2 so naturally the GT and Vb must be models of the T2 concepts
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
f9b65eeac0
Small improvements to the (Regular)TriangulationTraits_2/3 concepts
2017-06-28 10:15:30 +02:00
Mael Rouxel-Labbé
42506237b2
Add Construct_point_2/3 to the concepts of triangulation traits
...
-- TriangulationTraits_2 requires Point_2 construct_point_2(Point_2)
-- RegularTriangulationTraits_2 requires Point_2 construct_point_2(Weighted_point_2)
-- TriangulationTraits_3 requires Point_3 construct_point_3(Point_3)
-- RegularTriangulationTraits_3 requires Point_3 construct_point_3(Weighted_point_3)
2017-06-28 10:15:30 +02:00