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
+25
View File
@@ -0,0 +1,25 @@
m.def("writeOBJ", []
(
const std::string str,
const Eigen::MatrixXd& V,
const Eigen::MatrixXi& F,
const Eigen::MatrixXd& CN,
const Eigen::MatrixXi& FN,
const Eigen::MatrixXd& TC,
const Eigen::MatrixXi& FTC
)
{
return igl::writeOBJ(str,V,F,CN,FN,TC,FTC);
}, __doc_igl_writeOBJ,
py::arg("str"), py::arg("V"), py::arg("F"), py::arg("CN"), py::arg("FN"), py::arg("TC"), py::arg("FTC"));
m.def("writeOBJ", []
(
const std::string str,
const Eigen::MatrixXd& V,
const Eigen::MatrixXi& F
)
{
return igl::writeOBJ(str,V,F);
}, __doc_igl_writeOBJ,
py::arg("str"), py::arg("V"), py::arg("F"));