mirror of https://github.com/CGAL/cgal
Prefer .to_vector() to .direction() when converting Line_3 as this is what is stored
This commit is contained in:
parent
cb6639b85a
commit
99394f2bed
|
|
@ -283,7 +283,7 @@ public:
|
||||||
operator()(const typename K1::Line_3 &a) const
|
operator()(const typename K1::Line_3 &a) const
|
||||||
{
|
{
|
||||||
typedef typename K2::Line_3 Line_3;
|
typedef typename K2::Line_3 Line_3;
|
||||||
return Line_3(operator()(a.point()), operator()(a.direction()));
|
return Line_3(operator()(a.point()), operator()(a.to_vector()));
|
||||||
}
|
}
|
||||||
|
|
||||||
typename K2::Ray_3
|
typename K2::Ray_3
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue