add python binding for writePLY

Former-commit-id: 89248fc18f
This commit is contained in:
Daniel Crispell
2017-06-30 21:57:51 -04:00
parent 478fb4d667
commit 2115264e37
5 changed files with 35 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
m.def("writePLY", []
(
const std::string str,
const Eigen::MatrixXd& V,
const Eigen::MatrixXi& F,
const Eigen::MatrixXd& N,
const Eigen::MatrixXd& UV
)
{
return igl::writePLY(str,V,F,N,UV);
}, __doc_igl_writePLY,
py::arg("str"), py::arg("V"), py::arg("F"), py::arg("N"), py::arg("UV"));
m.def("writePLY", []
(
const std::string str,
const Eigen::MatrixXd& V,
const Eigen::MatrixXi& F
)
{
return igl::writePLY(str,V,F);
}, __doc_igl_writePLY,
py::arg("str"), py::arg("V"), py::arg("F"));