Files
igl/python/py_igl/py_jet.cpp
T
Daniele Panozzo 7db5843947 added 304
fixed bug in py_jet
2015-09-13 17:21:32 +02:00

25 lines
489 B
C++

m.def("jet", []
(
const Eigen::MatrixXd& Z,
const bool normalize,
Eigen::MatrixXd& C
)
{
assert_is_VectorX("Z",Z);
return igl::jet(Z,normalize,C);
}, __doc_igl_jet,
py::arg("Z"), py::arg("normalize"), py::arg("C"));
m.def("jet", []
(
const Eigen::MatrixXd& Z,
const double min_Z,
const double max_Z,
Eigen::MatrixXd& C
)
{
assert_is_VectorX("Z",Z);
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"));