mirror of https://github.com/CGAL/cgal
Changed Construct_point_2::operator()(Line)
This commit is contained in:
parent
2e1eba889e
commit
ea43a393c4
|
|
@ -2003,17 +2003,19 @@ namespace CartesianKernelFunctors {
|
|||
Point_2
|
||||
operator()(const Line_2& l) const
|
||||
{
|
||||
typename K::Construct_point_2 construct_point_2;
|
||||
typename K::FT x, y;
|
||||
line_get_pointC2(l.a(), l.b(), l.c(), 0, x, y);
|
||||
return Rep(x,y);
|
||||
return construct_point_2(x,y);
|
||||
}
|
||||
|
||||
Point_2
|
||||
operator()(const Line_2& l, int i) const
|
||||
{
|
||||
typename K::Construct_point_2 construct_point_2;
|
||||
typename K::FT x, y;
|
||||
line_get_pointC2(l.a(), l.b(), l.c(), i, x, y);
|
||||
return Rep(x,y);
|
||||
return construct_point_2(x,y);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue