diff --git a/vcg/space/deprecated_point3.h b/vcg/space/deprecated_point3.h index e905e51a..033c7309 100644 --- a/vcg/space/deprecated_point3.h +++ b/vcg/space/deprecated_point3.h @@ -179,6 +179,13 @@ public: _v[1] = P3ScalarType(b[1]); _v[2] = P3ScalarType(b[2]); } + template + inline void ToEigenVector( EigenVector & b ) const + { + b[0]=_v[0] ; + b[1]=_v[1] ; + b[2]=_v[2] ; + } template static inline Point3 Construct( const Point3 & b ) {