cgal/Alpha_shapes_3
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
..
demo/Alpha_shapes_3 Merge remote-tracking branch 'cgal/releases/CGAL-4.10-branch' 2017-08-04 13:37:58 +02:00
doc/Alpha_shapes_3 Minor doc changes to Alpha Shapes 3 2017-08-23 11:10:12 +02:00
examples/Alpha_shapes_3 Readability changes in Alpha_Shapes_3 2017-08-23 11:04:21 +02:00
include/CGAL Added an assertion to forbid using ExactComparisonTag with periodic triangulations 2017-08-23 16:19:32 +02:00
package_info/Alpha_shapes_3 New license.txt files (eol changes) 2013-02-19 16:46:39 +01:00
test/Alpha_shapes_3 Fixed some Bare_point / Weighted_point typedefs in Alpha_shapes_3 2017-06-28 10:14:35 +02:00
TODO