mirror of https://github.com/CGAL/cgal
Iso_cuboid_3::transform had been dropped when doing shuffles for the Lazy_kernel.
This commit is contained in:
parent
5e57596663
commit
e05221ceef
|
|
@ -36,6 +36,7 @@ class Iso_cuboid_3 : public R_::Kernel_base::Iso_cuboid_3
|
||||||
{
|
{
|
||||||
typedef typename R_::RT RT;
|
typedef typename R_::RT RT;
|
||||||
typedef typename R_::Point_3 Point_3;
|
typedef typename R_::Point_3 Point_3;
|
||||||
|
typedef typename R_::Aff_transformation_3 Aff_transformation_3;
|
||||||
|
|
||||||
typedef Iso_cuboid_3 Self;
|
typedef Iso_cuboid_3 Self;
|
||||||
BOOST_STATIC_ASSERT((boost::is_same<Self, typename R_::Iso_cuboid_3>::value));
|
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);
|
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)()));
|
||||||
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue