switched to MatrixXd for all wrappers, updated pybind11
Former-commit-id: 332266c090
This commit is contained in:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user