From 99394f2bedd2f7c8c509d9afa2991180fee6098f Mon Sep 17 00:00:00 2001 From: Sylvain Pion Date: Mon, 7 Aug 2006 12:41:26 +0000 Subject: [PATCH] Prefer .to_vector() to .direction() when converting Line_3 as this is what is stored --- Cartesian_kernel/include/CGAL/Cartesian_converter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cartesian_kernel/include/CGAL/Cartesian_converter.h b/Cartesian_kernel/include/CGAL/Cartesian_converter.h index 17f4932ad07..3bcacd20aa8 100644 --- a/Cartesian_kernel/include/CGAL/Cartesian_converter.h +++ b/Cartesian_kernel/include/CGAL/Cartesian_converter.h @@ -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