converted to python tutorials 201-203

Former-commit-id: 4b984d1965
This commit is contained in:
Daniele Panozzo
2015-08-22 14:58:50 +02:00
parent 5bb35585d9
commit bf08e18836
12 changed files with 299 additions and 99 deletions
+22
View File
@@ -0,0 +1,22 @@
m.def("readOFF", []
(
const std::string str,
Eigen::MatrixXd& V,
Eigen::MatrixXi& F
)
{
return igl::readOFF(str,V,F);
}, __doc_igl_readOFF,
py::arg("str"), py::arg("V"), py::arg("F"));
m.def("readOFF", []
(
const std::string str,
Eigen::MatrixXd& V,
Eigen::MatrixXi& F,
Eigen::MatrixXd& N
)
{
return igl::readOFF(str,V,F,N);
}, __doc_igl_readOFF,
py::arg("str"), py::arg("V"), py::arg("F"), py::arg("N"));