diff --git a/vcg/complex/algorithms/mesh_to_matrix.h b/vcg/complex/algorithms/mesh_to_matrix.h index 595a1eb0..17ed0f26 100644 --- a/vcg/complex/algorithms/mesh_to_matrix.h +++ b/vcg/complex/algorithms/mesh_to_matrix.h @@ -207,6 +207,12 @@ public: GetTriMeshData(mesh,faces,vert); GetTriEdgeAdjacency(vert,faces,EV,FE,EF); } + + static Eigen::Vector3d VectorFromCoord(CoordType v) + { + Eigen::Vector3d ret(v[0],v[1],v[2]); + return ret; + } }; } // end namespace tri