From 4fc9c340be4e4a09111d0e4e096f0d78fd1d403e Mon Sep 17 00:00:00 2001 From: Marc Glisse Date: Thu, 23 Aug 2012 16:26:22 +0000 Subject: [PATCH] this functor was already there --- NewKernel_d/include/CGAL/Kernel_d/Kernel_d_interface.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NewKernel_d/include/CGAL/Kernel_d/Kernel_d_interface.h b/NewKernel_d/include/CGAL/Kernel_d/Kernel_d_interface.h index e8eed2c00fc..db05e089717 100644 --- a/NewKernel_d/include/CGAL/Kernel_d/Kernel_d_interface.h +++ b/NewKernel_d/include/CGAL/Kernel_d/Kernel_d_interface.h @@ -89,6 +89,7 @@ template struct Kernel_d_interface : public Base_ { } }; typedef typename Construct_cartesian_const_iterator_d::result_type Cartesian_const_iterator_d; + typedef typename Base::template Functor::type Squared_distance_d; //typedef typename Base::template Functor::type Affine_rank_d; //typedef typename Base::template Functor::type Affinely_independent_d; //typedef typename Base::template Functor::type Contained_in_linear_hull_d; @@ -100,7 +101,6 @@ template struct Kernel_d_interface : public Base_ { //typedef typename Base::template Functor::type Side_of_bounded_sphere_d; //typedef typename Base::template Functor::type Center_of_sphere_d; - //typedef typename Base::template Functor::type Squared_distance_d; //typedef typename Base::template Functor::type Value_at_d; //typedef typename Base::template Functor::type Point_of_sphere_d; //typedef typename Base::template Functor::type Orthogonal_vector_d; @@ -132,6 +132,7 @@ template struct Kernel_d_interface : public Base_ { Construct_segment_d construct_segment_d_object()const{ return Construct_segment_d(*this); } Construct_sphere_d construct_sphere_d_object()const{ return Construct_sphere_d(*this); } Construct_hyperplane_d construct_hyperplane_d_object()const{ return Construct_hyperplane_d(*this); } + Squared_distance_d squared_distance_d_object()const{ return Squared_distance_d(*this); } //Construct_direction_d construct_direction_d_object()const{ return Construct_direction_d(*this); } //Construct_line_d construct_line_d_object()const{ return Construct_line_d(*this); } //Construct_ray_d construct_ray_d_object()const{ return Construct_ray_d(*this); }