Added a ToEigenVector method

This commit is contained in:
Paolo Cignoni 2012-10-22 18:43:24 +00:00
parent ecd88fcb28
commit b26b406f8f
1 changed files with 7 additions and 0 deletions

View File

@ -179,6 +179,13 @@ public:
_v[1] = P3ScalarType(b[1]);
_v[2] = P3ScalarType(b[2]);
}
template <class EigenVector>
inline void ToEigenVector( EigenVector & b ) const
{
b[0]=_v[0] ;
b[1]=_v[1] ;
b[2]=_v[2] ;
}
template <class Q>
static inline Point3 Construct( const Point3<Q> & b )
{