converted to python tutorials 201-203

Former-commit-id: 4b984d1965
This commit is contained in:
Daniele Panozzo
2015-08-22 14:58:50 +02:00
parent 5bb35585d9
commit bf08e18836
12 changed files with 299 additions and 99 deletions
+22
View File
@@ -0,0 +1,22 @@
m.def("jet", []
(
const Eigen::VectorXd& Z,
const bool normalize,
Eigen::MatrixXd& C
)
{
return igl::jet(Z,normalize,C);
}, __doc_igl_jet,
py::arg("Z"), py::arg("normalize"), py::arg("C"));
m.def("jet", []
(
const Eigen::VectorXd& Z,
const double min_Z,
const double max_Z,
Eigen::MatrixXd& C
)
{
return igl::jet(Z,min_Z,max_Z,C);
}, __doc_igl_jet,
py::arg("Z"), py::arg("min_Z"), py::arg("max_Z"), py::arg("C"));