Fix the typedef for the Bare_point

This commit is contained in:
Andreas Fabri 2016-11-21 15:49:43 +01:00
parent d35c6c913d
commit b978fa8fdd
2 changed files with 6 additions and 2 deletions

View File

@ -131,7 +131,12 @@ namespace CGAL {
typedef typename Tr_Base::All_cells_iterator All_cells_iterator;
typedef typename Gt::Weighted_point_3 Weighted_point;
typedef typename Gt::Point_3 Bare_point;
typedef typename boost::mpl::eval_if_c<
internal::Has_nested_type_Bare_point<Gt>::value,
typename internal::Bare_point_type<Gt>,
boost::mpl::identity<typename Gt::Point_3>
>::type Bare_point;
typedef typename Gt::Segment_3 Segment;
typedef typename Gt::Triangle_3 Triangle;
typedef typename Gt::Tetrahedron_3 Tetrahedron;

View File

@ -20,7 +20,6 @@
// : Mariette Yvinec (Mariette.Yvinec@sophia.inria.fr)
#include <CGAL/Regular_triangulation_3.h>
#include <iostream>
#include <cassert>
#include <list>