Files
igl/python/py_igl/py_writePLY.cpp
T

31 lines
896 B
C++

// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2017 Sebastian Koch <s.koch@tu-berlin.de> and Daniele Panozzo <daniele.panozzo@gmail.com>
//
// 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("writePLY", []
(
const std::string str,
const Eigen::MatrixXd& V,
const Eigen::MatrixXi& F,
const Eigen::MatrixXd& N,
const Eigen::MatrixXd& UV
)
{
return igl::writePLY(str,V,F,N,UV);
}, __doc_igl_writePLY,
py::arg("str"), py::arg("V"), py::arg("F"), py::arg("N"), py::arg("UV"));
m.def("writePLY", []
(
const std::string str,
const Eigen::MatrixXd& V,
const Eigen::MatrixXi& F
)
{
return igl::writePLY(str,V,F);
}, __doc_igl_writePLY,
py::arg("str"), py::arg("V"), py::arg("F"));