added VectorFromCoord function

This commit is contained in:
Nico Pietroni 2014-08-28 09:46:16 +00:00
parent 0337582896
commit ae18d9b445
1 changed files with 6 additions and 0 deletions

View File

@ -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