mirror of https://github.com/CGAL/cgal
Added functors to archetype kernel
This commit is contained in:
parent
9f5bad92a1
commit
7f258ba048
|
|
@ -1405,6 +1405,20 @@ public:
|
|||
{ return Point_3(); }
|
||||
};
|
||||
|
||||
template <typename K>
|
||||
class Construct_normal_3
|
||||
{
|
||||
typedef typename K::Point_3 Point_3;
|
||||
typedef typename K::Vector_3 Vector_3;
|
||||
public:
|
||||
typedef Vector_3 result_type;
|
||||
typedef Arity_tag< 2 > Arity;
|
||||
|
||||
Vector_3
|
||||
operator()(const Point_3&, const Point_3&, const Point_3&) const
|
||||
{ return Vector_3(); }
|
||||
};
|
||||
|
||||
template <typename K>
|
||||
class Construct_object_2
|
||||
{
|
||||
|
|
@ -2163,6 +2177,20 @@ public:
|
|||
{ return Triangle_3(); }
|
||||
};
|
||||
|
||||
template <typename K>
|
||||
class Construct_unit_normal_3
|
||||
{
|
||||
typedef typename K::Point_3 Point_3;
|
||||
typedef typename K::Vector_3 Vector_3;
|
||||
public:
|
||||
typedef Vector_3 result_type;
|
||||
typedef Arity_tag< 2 > Arity;
|
||||
|
||||
Vector_3
|
||||
operator()(const Point_3&, const Point_3&, const Point_3&) const
|
||||
{ return Vector_3(); }
|
||||
};
|
||||
|
||||
template <typename K>
|
||||
class Construct_vector_2
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue