Files
igl/python/py_igl/py_compute_frame_field_bisectors.cpp
T
2017-10-08 16:02:47 -04:00

37 lines
1.3 KiB
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("compute_frame_field_bisectors", []
(
const Eigen::MatrixXd& V,
const Eigen::MatrixXi& F,
const Eigen::MatrixXd& B1,
const Eigen::MatrixXd& B2,
const Eigen::MatrixXd& PD1,
const Eigen::MatrixXd& PD2,
Eigen::MatrixXd& BIS1,
Eigen::MatrixXd& BIS2
)
{
return igl::compute_frame_field_bisectors(V,F,B1,B2,PD1,PD2,BIS1,BIS2);
}, __doc_igl_compute_frame_field_bisectors,
py::arg("V"), py::arg("F"), py::arg("B1"), py::arg("B2"), py::arg("PD1"), py::arg("PD2"), py::arg("BIS1"), py::arg("BIS2"));
m.def("compute_frame_field_bisectors", []
(
const Eigen::MatrixXd& V,
const Eigen::MatrixXi& F,
const Eigen::MatrixXd& PD1,
const Eigen::MatrixXd& PD2,
Eigen::MatrixXd& BIS1,
Eigen::MatrixXd& BIS2
)
{
return igl::compute_frame_field_bisectors(V,F,PD1,PD2,BIS1,BIS2);
}, __doc_igl_compute_frame_field_bisectors,
py::arg("V"), py::arg("F"), py::arg("PD1"), py::arg("PD2"), py::arg("BIS1"), py::arg("BIS2"));