diff --git a/vcg/space/plane3.h b/vcg/space/plane3.h index 5620338d..35f25bc0 100644 --- a/vcg/space/plane3.h +++ b/vcg/space/plane3.h @@ -99,6 +99,13 @@ public: /// The (distance, direction) constructor Plane3(const ScalarType &dist, const PointType &dir) { Set(dist, dir); } + template + inline void Import( const Plane3 & b ) + { + _offset = ScalarType(b.Offset()); + _dir = Point3::Construct(b.Direction()); + } + //@{ /** @name Members to access the distance or direction Direction() cannot be assigned directly.