Added missing Plane3::Import

This commit is contained in:
Paolo Cignoni 2009-08-26 00:10:32 +00:00
parent 077294b03e
commit 9fc361301d
1 changed files with 7 additions and 0 deletions

View File

@ -99,6 +99,13 @@ public:
/// The (distance, direction) constructor
Plane3(const ScalarType &dist, const PointType &dir) { Set(dist, dir); }
template <class Q>
inline void Import( const Plane3<Q,false> & b )
{
_offset = ScalarType(b.Offset());
_dir = Point3<T>::Construct(b.Direction());
}
//@{
/** @name Members to access the distance or direction
Direction() cannot be assigned directly.