Add Construct_projected_point_2::operator()(Segment_2,Point_2)
This commit is contained in:
@@ -3278,6 +3278,7 @@ namespace CartesianKernelFunctors {
|
||||
{
|
||||
typedef typename K::Point_2 Point_2;
|
||||
typedef typename K::Line_2 Line_2;
|
||||
typedef typename K::Segment_2 Segment_2;
|
||||
public:
|
||||
typedef Point_2 result_type;
|
||||
|
||||
@@ -3289,6 +3290,15 @@ namespace CartesianKernelFunctors {
|
||||
line_project_pointC2(l.a(), l.b(), l.c(), p.x(), p.y(), x, y);
|
||||
return construct_point_2(x, y);
|
||||
}
|
||||
|
||||
Point_2
|
||||
operator()( const Segment_2& s, const Point_2& p ) const
|
||||
{
|
||||
assert(false);
|
||||
return p;
|
||||
// CommonKernelFunctors::Construct_projected_point_3<K>()(s,p,K());
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user