mirror of https://github.com/CGAL/cgal
38 lines
2.0 KiB
C++
38 lines
2.0 KiB
C++
#ifndef CGAL_KD_KERNEL_3_INTERFACE_H
|
|
#define CGAL_KD_KERNEL_3_INTERFACE_H
|
|
|
|
#include <CGAL/functor_tags.h>
|
|
#include <CGAL/transforming_iterator.h>
|
|
#include <CGAL/marcutils.h>
|
|
#include <CGAL/tuple.h>
|
|
|
|
|
|
namespace CGAL {
|
|
template <class Base_> struct Kernel_d_interface : public Base_ {
|
|
typedef Base_ Base;
|
|
typedef Kernel_d_interface<Base> Kernel;
|
|
typedef typename Base::Flat_orientation Flat_orientation_d;
|
|
typedef typename Base::Point Point_d;
|
|
typedef typename Base::Vector Vector_d;
|
|
//typedef typename Base::Segment Segment_d;
|
|
typedef typename Base::template Functor<Compare_lexicographically_tag>::type Compare_lexicographically_d;
|
|
typedef typename Base::template Functor<Orientation_of_points_tag>::type Orientation_d;
|
|
typedef typename Base::template Functor<Side_of_oriented_sphere_tag>::type Side_of_oriented_sphere_d;
|
|
typedef typename Base::template Functor<Contained_in_affine_hull_tag>::type Contained_in_affine_hull_d;
|
|
typedef typename Base::template Functor<Construct_flat_orientation_tag>::type Construct_flat_orientation_d;
|
|
typedef typename Base::template Functor<In_flat_orientation_tag>::type In_flat_orientation_d;
|
|
typedef typename Base::template Functor<In_flat_side_of_oriented_sphere_tag>::type In_flat_side_of_oriented_sphere_d;
|
|
|
|
|
|
Compare_lexicographically_d compare_lexicographically_d_object()const{ return Compare_lexicographically_d(*this); }
|
|
Orientation_d orientation_d_object()const{ return Orientation_d(*this); }
|
|
Side_of_oriented_sphere_d side_of_oriented_sphere_d_object()const{ return Side_of_oriented_sphere_d(*this); }
|
|
Contained_in_affine_hull_d contained_in_affine_hull_d_object()const{ return Contained_in_affine_hull_d(*this); }
|
|
Construct_flat_orientation_d construct_flat_orientation_d_object()const{ return Construct_flat_orientation_d(*this); }
|
|
In_flat_orientation_d in_flat_orientation_d_object()const{ return In_flat_orientation_d(*this); }
|
|
In_flat_side_of_oriented_sphere_d in_flat_side_of_oriented_sphere_d_object()const{ return In_flat_side_of_oriented_sphere_d(*this); }
|
|
};
|
|
}
|
|
|
|
#endif
|