123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- // 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/.
- // COMPLETE BINDINGS ========================
- m.def("hsv_to_rgb", []
- (
- const Eigen::MatrixXd& H,
- Eigen::MatrixXd& R
- )
- {
- return igl::hsv_to_rgb(H, R);
- }, __doc_igl_hsv_to_rgb,
- py::arg("H"), py::arg("R"));
- // INCOMPLETE BINDINGS ========================
- //m.def("hsv_to_rgb", []
- //(
- // T * hsv,
- // T * rgb
- //)
- //{
- // return igl::hsv_to_rgb(hsv, rgb);
- //}, __doc_igl_hsv_to_rgb,
- //py::arg("hsv"), py::arg("rgb"));
- //m.def("hsv_to_rgb", []
- //(
- // T & h,
- // T & s,
- // T & v,
- // T & r,
- // T & g,
- // T & b
- //)
- //{
- // return igl::hsv_to_rgb(h, s, v, r, g, b);
- //}, __doc_igl_hsv_to_rgb,
- //py::arg("h"), py::arg("s"), py::arg("v"), py::arg("r"), py::arg("g"), py::arg("b"));
|