Added further python bindings, extended py_vector slightly
Former-commit-id: 13e300c8a9
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
m.def("upsample", []
|
||||
(
|
||||
Eigen::MatrixXd& V,
|
||||
Eigen::MatrixXi& F
|
||||
)
|
||||
{
|
||||
return igl::upsample(V, F);
|
||||
}, __doc_igl_upsample,
|
||||
py::arg("V"), py::arg("F"));
|
||||
|
||||
m.def("upsample", []
|
||||
(
|
||||
const Eigen::MatrixXd& V,
|
||||
const Eigen::MatrixXi& F,
|
||||
Eigen::MatrixXd& NV,
|
||||
Eigen::MatrixXi& NF
|
||||
)
|
||||
{
|
||||
return igl::upsample(V, F, NV, NF);
|
||||
}, __doc_igl_upsample,
|
||||
py::arg("V"), py::arg("F"), py::arg("NV"), py::arg("NF"));
|
||||
|
||||
Reference in New Issue
Block a user