From e05221ceef3d8a3ae1b87ea2631f154c29501a17 Mon Sep 17 00:00:00 2001 From: Sylvain Pion Date: Wed, 31 Oct 2007 19:31:24 +0000 Subject: [PATCH] Iso_cuboid_3::transform had been dropped when doing shuffles for the Lazy_kernel. --- Kernel_23/include/CGAL/Iso_cuboid_3.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Kernel_23/include/CGAL/Iso_cuboid_3.h b/Kernel_23/include/CGAL/Iso_cuboid_3.h index b4d0ce48534..8791eee6327 100644 --- a/Kernel_23/include/CGAL/Iso_cuboid_3.h +++ b/Kernel_23/include/CGAL/Iso_cuboid_3.h @@ -36,6 +36,7 @@ class Iso_cuboid_3 : public R_::Kernel_base::Iso_cuboid_3 { typedef typename R_::RT RT; typedef typename R_::Point_3 Point_3; + typedef typename R_::Aff_transformation_3 Aff_transformation_3; typedef Iso_cuboid_3 Self; BOOST_STATIC_ASSERT((boost::is_same::value)); @@ -224,6 +225,12 @@ public: return R().construct_bbox_3_object()(*this); } + Iso_cuboid_3 + transform(const Aff_transformation_3 &t) const + { + return Iso_cuboid_3(t.transform((this->min)()), t.transform((this->max)())); + } + };