py_point_mesh_squared_distance.cpp 429 B

123456789101112131415
  1. m.def("point_mesh_squared_distance", []
  2. (
  3. const Eigen::MatrixXd& P,
  4. const Eigen::MatrixXd& V,
  5. const Eigen::MatrixXi& Ele,
  6. Eigen::MatrixXd& sqrD,
  7. Eigen::MatrixXi& I,
  8. Eigen::MatrixXd& C
  9. )
  10. {
  11. // assert_is_VectorX("I",I);
  12. return igl::point_mesh_squared_distance(P, V, Ele, sqrD, I, C);
  13. }, __doc_igl_point_mesh_squared_distance,
  14. py::arg("P"), py::arg("V"), py::arg("Ele"), py::arg("sqrD"), py::arg("I"), py::arg("C"));