cgal/Alpha_shapes_2/include/CGAL
Mael Rouxel-Labbé 63d293765f Added an assertion to forbid using ExactComparisonTag with periodic triangulations
When we set the exact comparison tag to true, we use a lazy evaluation
of predicates and store pointers to the arguments of the predicates (that is,
pointer to points). However, the points are  -- in the case of periodic --
only temporary objects and it is thus dangerous to take pointers to those
temporary values because the pointers quickly become invalid.

Thus, periodic triangulations are not allowed to use the exact tag.

A possible way to make it work is to define a small class:
Periodic_triangulation_with_stored_real_points that would inherit the base
(periodic) triangulation but store all the points of its simplices.
Then, the function  point(face_handle, int) would return an entry of that
container, of which it would be safe to take a pointer.
2017-08-23 16:19:32 +02:00
..
internal Readability changes in Alpha_shapes_2 2017-08-23 11:04:46 +02:00
Alpha_shape_2.h Added an assertion to forbid using ExactComparisonTag with periodic triangulations 2017-08-23 16:19:32 +02:00
Alpha_shape_euclidean_traits_2.h add include directive for license of all GPL header files 2017-01-19 15:20:25 +01:00
Alpha_shape_face_base_2.h Modified alpha_shapes_2's Vb and Fb to work with the Lazy_alpha_nt modifs 2017-06-28 10:15:30 +02:00
Alpha_shape_vertex_base_2.h Readability changes in Alpha_shapes_2 2017-08-23 11:04:46 +02:00
Weighted_alpha_shape_euclidean_traits_2.h Fixed minor mistakes from a rebase 2017-06-28 10:16:23 +02:00