Iso_cuboid_3::transform had been dropped when doing shuffles for the Lazy_kernel.

This commit is contained in:
Sylvain Pion 2007-10-31 19:31:24 +00:00
parent 5e57596663
commit e05221ceef
1 changed files with 7 additions and 0 deletions

View File

@ -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<Self, typename R_::Iso_cuboid_3>::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)()));
}
};