py_writePLY.cpp 508 B

1234567891011121314151617181920212223
  1. m.def("writePLY", []
  2. (
  3. const std::string str,
  4. const Eigen::MatrixXd& V,
  5. const Eigen::MatrixXi& F,
  6. const Eigen::MatrixXd& N,
  7. const Eigen::MatrixXd& UV
  8. )
  9. {
  10. return igl::writePLY(str,V,F,N,UV);
  11. }, __doc_igl_writePLY,
  12. py::arg("str"), py::arg("V"), py::arg("F"), py::arg("N"), py::arg("UV"));
  13. m.def("writePLY", []
  14. (
  15. const std::string str,
  16. const Eigen::MatrixXd& V,
  17. const Eigen::MatrixXi& F
  18. )
  19. {
  20. return igl::writePLY(str,V,F);
  21. }, __doc_igl_writePLY,
  22. py::arg("str"), py::arg("V"), py::arg("F"));