switched to MatrixXd for all wrappers, updated pybind11

Former-commit-id: 332266c090
This commit is contained in:
Daniele Panozzo
2015-08-29 00:24:41 +02:00
parent 3d31b33ce7
commit ea90d493ec
11 changed files with 418 additions and 250 deletions
+4 -2
View File
@@ -1,22 +1,24 @@
m.def("parula", []
(
const Eigen::VectorXd& Z,
const Eigen::MatrixXd& Z,
const bool normalize,
Eigen::MatrixXd& C
)
{
assert_is_VectorXd("Z",Z);
return igl::parula(Z,normalize,C);
}, __doc_igl_parula,
py::arg("Z"), py::arg("normalize"), py::arg("C"));
m.def("parula", []
(
const Eigen::VectorXd& Z,
const Eigen::MatrixXd& Z,
const double min_Z,
const double max_Z,
Eigen::MatrixXd& C
)
{
assert_is_VectorXd("Z",Z);
return igl::parula(Z,min_Z,max_Z,C);
}, __doc_igl_parula,
py::arg("Z"), py::arg("min_Z"), py::arg("max_Z"), py::arg("C"));