py_compute_frame_field_bisectors.cpp 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. // This file is part of libigl, a simple c++ geometry processing library.
  2. //
  3. // Copyright (C) 2017 Sebastian Koch <s.koch@tu-berlin.de> and Daniele Panozzo <daniele.panozzo@gmail.com>
  4. //
  5. // This Source Code Form is subject to the terms of the Mozilla Public License
  6. // v. 2.0. If a copy of the MPL was not distributed with this file, You can
  7. // obtain one at http://mozilla.org/MPL/2.0/.
  8. m.def("compute_frame_field_bisectors", []
  9. (
  10. const Eigen::MatrixXd& V,
  11. const Eigen::MatrixXi& F,
  12. const Eigen::MatrixXd& B1,
  13. const Eigen::MatrixXd& B2,
  14. const Eigen::MatrixXd& PD1,
  15. const Eigen::MatrixXd& PD2,
  16. Eigen::MatrixXd& BIS1,
  17. Eigen::MatrixXd& BIS2
  18. )
  19. {
  20. return igl::compute_frame_field_bisectors(V,F,B1,B2,PD1,PD2,BIS1,BIS2);
  21. }, __doc_igl_compute_frame_field_bisectors,
  22. py::arg("V"), py::arg("F"), py::arg("B1"), py::arg("B2"), py::arg("PD1"), py::arg("PD2"), py::arg("BIS1"), py::arg("BIS2"));
  23. m.def("compute_frame_field_bisectors", []
  24. (
  25. const Eigen::MatrixXd& V,
  26. const Eigen::MatrixXi& F,
  27. const Eigen::MatrixXd& PD1,
  28. const Eigen::MatrixXd& PD2,
  29. Eigen::MatrixXd& BIS1,
  30. Eigen::MatrixXd& BIS2
  31. )
  32. {
  33. return igl::compute_frame_field_bisectors(V,F,PD1,PD2,BIS1,BIS2);
  34. }, __doc_igl_compute_frame_field_bisectors,
  35. py::arg("V"), py::arg("F"), py::arg("PD1"), py::arg("PD2"), py::arg("BIS1"), py::arg("BIS2"));