py_upsample.cpp 402 B

12345678910111213141516171819202122
  1. m.def("upsample", []
  2. (
  3. Eigen::MatrixXd& V,
  4. Eigen::MatrixXi& F
  5. )
  6. {
  7. return igl::upsample(V, F);
  8. }, __doc_igl_upsample,
  9. py::arg("V"), py::arg("F"));
  10. m.def("upsample", []
  11. (
  12. const Eigen::MatrixXd& V,
  13. const Eigen::MatrixXi& F,
  14. Eigen::MatrixXd& NV,
  15. Eigen::MatrixXi& NF
  16. )
  17. {
  18. return igl::upsample(V, F, NV, NF);
  19. }, __doc_igl_upsample,
  20. py::arg("V"), py::arg("F"), py::arg("NV"), py::arg("NF"));