py_collapse_edge.cpp 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. // COMPLETE BINDINGS ========================
  2. // INCOMPLETE BINDINGS ========================
  3. //m.def("collapse_edge", []
  4. //(
  5. // int e,
  6. // Eigen::RowVectorXd & p,
  7. // Eigen::MatrixXd& V,
  8. // Eigen::MatrixXi& F,
  9. // Eigen::MatrixXi& E,
  10. // Eigen::MatrixXi& EMAP,
  11. // Eigen::MatrixXi& EF,
  12. // Eigen::MatrixXi& EI,
  13. // int & e1,
  14. // int & e2,
  15. // int & f1,
  16. // int & f2
  17. //)
  18. //{
  19. // return igl::collapse_edge(e, p, V, F, E, EMAP, EF, EI, e1, e2, f1, f2);
  20. //}, __doc_igl_collapse_edge,
  21. //py::arg("e"), py::arg("p"), py::arg("V"), py::arg("F"), py::arg("E"), py::arg("EMAP"), py::arg("EF"), py::arg("EI"), py::arg("e1"), py::arg("e2"), py::arg("f1"), py::arg("f2"));
  22. //m.def("collapse_edge", []
  23. //(
  24. // int e,
  25. // Eigen::RowVectorXd & p,
  26. // Eigen::MatrixXd& V,
  27. // Eigen::MatrixXi& F,
  28. // Eigen::MatrixXi& E,
  29. // Eigen::MatrixXi& EMAP,
  30. // Eigen::MatrixXi& EF,
  31. // Eigen::MatrixXi& EI
  32. //)
  33. //{
  34. // return igl::collapse_edge(e, p, V, F, E, EMAP, EF, EI);
  35. //}, __doc_igl_collapse_edge,
  36. //py::arg("e"), py::arg("p"), py::arg("V"), py::arg("F"), py::arg("E"), py::arg("EMAP"), py::arg("EF"), py::arg("EI"));
  37. //m.def("collapse_edge", []
  38. //(
  39. // std::function<void (const int, const Eigen::MatrixXd &, const Eigen::MatrixXi &, const Eigen::MatrixXi &, const Eigen::VectorXi &, const Eigen::MatrixXi &, const Eigen::MatrixXi &, double &, Eigen::RowVectorXd &)> & cost_and_placement,
  40. // Eigen::MatrixXd& V,
  41. // Eigen::MatrixXi& F,
  42. // Eigen::MatrixXi& E,
  43. // Eigen::MatrixXi& EMAP,
  44. // Eigen::MatrixXi& EF,
  45. // Eigen::MatrixXi& EI,
  46. // std::set<std::pair<double, int> > & Q,
  47. // std::vector<std::set<std::pair<double, int> >::iterator> & Qit,
  48. // Eigen::MatrixXd& C
  49. //)
  50. //{
  51. // return igl::collapse_edge(cost_and_placement, V, F, E, EMAP, EF, EI, Q, Qit, C);
  52. //}, __doc_igl_collapse_edge,
  53. //py::arg("cost_and_placement"), py::arg("V"), py::arg("F"), py::arg("E"), py::arg("EMAP"), py::arg("EF"), py::arg("EI"), py::arg("Q"), py::arg("Qit"), py::arg("C"));
  54. //m.def("collapse_edge", []
  55. //(
  56. // std::function<void (const int, const Eigen::MatrixXd &, const Eigen::MatrixXi &, const Eigen::MatrixXi &, const Eigen::VectorXi &, const Eigen::MatrixXi &, const Eigen::MatrixXi &, double &, Eigen::RowVectorXd &)> & cost_and_placement,
  57. // Eigen::MatrixXd& V,
  58. // Eigen::MatrixXi& F,
  59. // Eigen::MatrixXi& E,
  60. // Eigen::MatrixXi& EMAP,
  61. // Eigen::MatrixXi& EF,
  62. // Eigen::MatrixXi& EI,
  63. // std::set<std::pair<double, int> > & Q,
  64. // std::vector<std::set<std::pair<double, int> >::iterator> & Qit,
  65. // Eigen::MatrixXd& C,
  66. // int & e,
  67. // int & e1,
  68. // int & e2,
  69. // int & f1,
  70. // int & f2
  71. //)
  72. //{
  73. // return igl::collapse_edge(cost_and_placement, V, F, E, EMAP, EF, EI, Q, Qit, C, e, e1, e2, f1, f2);
  74. //}, __doc_igl_collapse_edge,
  75. //py::arg("cost_and_placement"), py::arg("V"), py::arg("F"), py::arg("E"), py::arg("EMAP"), py::arg("EF"), py::arg("EI"), py::arg("Q"), py::arg("Qit"), py::arg("C"), py::arg("e"), py::arg("e1"), py::arg("e2"), py::arg("f1"), py::arg("f2"));