py_writeOBJ.cpp 608 B

12345678910111213141516171819202122232425
  1. m.def("writeOBJ", []
  2. (
  3. const std::string str,
  4. const Eigen::MatrixXd& V,
  5. const Eigen::MatrixXi& F,
  6. const Eigen::MatrixXd& CN,
  7. const Eigen::MatrixXi& FN,
  8. const Eigen::MatrixXd& TC,
  9. const Eigen::MatrixXi& FTC
  10. )
  11. {
  12. return igl::writeOBJ(str,V,F,CN,FN,TC,FTC);
  13. }, __doc_igl_writeOBJ,
  14. py::arg("str"), py::arg("V"), py::arg("F"), py::arg("CN"), py::arg("FN"), py::arg("TC"), py::arg("FTC"));
  15. m.def("writeOBJ", []
  16. (
  17. const std::string str,
  18. const Eigen::MatrixXd& V,
  19. const Eigen::MatrixXi& F
  20. )
  21. {
  22. return igl::writeOBJ(str,V,F);
  23. }, __doc_igl_writeOBJ,
  24. py::arg("str"), py::arg("V"), py::arg("F"));