// This file is part of libigl, a simple c++ geometry processing library. // // Copyright (C) 2017 Sebastian Koch and Daniele Panozzo // // This Source Code Form is subject to the terms of the Mozilla Public License // v. 2.0. If a copy of the MPL was not distributed with this file, You can // obtain one at http://mozilla.org/MPL/2.0/. m.def("cat", [] ( const int dim, const Eigen::MatrixXd& A, const Eigen::MatrixXd& B, Eigen::MatrixXd& C ) { return igl::cat(dim, A, B, C); }, __doc_igl_cat, py::arg("dim"), py::arg("A"), py::arg("B"), py::arg("C")); m.def("cat", [] ( const int dim, Eigen::MatrixXd& A, Eigen::MatrixXd& B ) { return igl::cat(dim, A, B); }, __doc_igl_cat, py::arg("dim"), py::arg("A"), py::arg("B")); m.def("cat", [] ( const int dim, Eigen::MatrixXi& A, Eigen::MatrixXi& B ) { return igl::cat(dim, A, B); }, __doc_igl_cat, py::arg("dim"), py::arg("A"), py::arg("B")); //m.def("cat", [] //( // const std::vector > & A, // Eigen::MatrixXd & C //) //{ // return igl::cat(A, C); //}, __doc_igl_cat, //py::arg("A"), py::arg("C")); m.def("cat", [] ( const int dim, const Eigen::SparseMatrix& A, const Eigen::SparseMatrix& B, Eigen::SparseMatrix& C ) { return igl::cat(dim, A, B, C); }, __doc_igl_cat, py::arg("dim"), py::arg("A"), py::arg("B"), py::arg("C"));