Prefer .to_vector() to .direction() when converting Line_3 as this is what is stored

This commit is contained in:
Sylvain Pion 2006-08-07 12:41:26 +00:00
parent cb6639b85a
commit 99394f2bed
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ public:
operator()(const typename K1::Line_3 &a) const
{
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