added 302 sort

Former-commit-id: e2e452f556
This commit is contained in:
Daniele Panozzo
2015-09-11 23:53:49 +02:00
parent 50e499e0e9
commit fbb66fc3d8
6 changed files with 193 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
m.def("sortrows", []
(
const Eigen::MatrixXd& X,
const bool ascending,
Eigen::MatrixXd& Y,
Eigen::MatrixXi& I
)
{
return igl::sortrows(X,ascending,Y,I);
}, __doc_igl_sortrows,
py::arg("X"), py::arg("ascending"), py::arg("Y"), py::arg("I"));
m.def("sortrows", []
(
const Eigen::MatrixXi& X,
const bool ascending,
Eigen::MatrixXi& Y,
Eigen::MatrixXi& I
)
{
return igl::sortrows(X,ascending,Y,I);
}, __doc_igl_sortrows,
py::arg("X"), py::arg("ascending"), py::arg("Y"), py::arg("I"));