py::enum_(m, "PerVertexNormalsWeightingType") .value("PER_VERTEX_NORMALS_WEIGHTING_TYPE_UNIFORM", igl::PER_VERTEX_NORMALS_WEIGHTING_TYPE_UNIFORM) .value("PER_VERTEX_NORMALS_WEIGHTING_TYPE_AREA", igl::PER_VERTEX_NORMALS_WEIGHTING_TYPE_AREA) .value("PER_VERTEX_NORMALS_WEIGHTING_TYPE_ANGLE", igl::PER_VERTEX_NORMALS_WEIGHTING_TYPE_ANGLE) .value("PER_VERTEX_NORMALS_WEIGHTING_TYPE_DEFAULT", igl::PER_VERTEX_NORMALS_WEIGHTING_TYPE_DEFAULT) .value("NUM_PER_VERTEX_NORMALS_WEIGHTING_TYPE", igl::NUM_PER_VERTEX_NORMALS_WEIGHTING_TYPE) .export_values(); m.def("per_vertex_normals", [] ( const Eigen::MatrixXd& V, const Eigen::MatrixXi& F, const igl::PerVertexNormalsWeightingType weighting, Eigen::MatrixXd& N ) { return igl::per_vertex_normals(V,F,weighting,N); }, __doc_igl_per_vertex_normals, py::arg("V"), py::arg("F"), py::arg("weighting"), py::arg("N")); m.def("per_vertex_normals", [] ( const Eigen::MatrixXd& V, const Eigen::MatrixXi& F, Eigen::MatrixXd& N ) { return igl::per_vertex_normals(V,F,N); }, __doc_igl_per_vertex_normals, py::arg("V"), py::arg("F"), py::arg("N")); m.def("per_vertex_normals", [] ( const Eigen::MatrixXd& V, const Eigen::MatrixXi& F, const igl::PerVertexNormalsWeightingType weighting, const Eigen::MatrixXd& FN, Eigen::MatrixXd& N ) { return igl::per_vertex_normals(V,F,weighting,FN,N); }, __doc_igl_per_vertex_normals, py::arg("V"), py::arg("F"), py::arg("weighting"), py::arg("FN"), py::arg("N")); m.def("per_vertex_normals", [] ( const Eigen::MatrixXd& V, const Eigen::MatrixXi& F, const Eigen::MatrixXd& FN, Eigen::MatrixXd& N ) { return igl::per_vertex_normals(V,F,FN,N); }, __doc_igl_per_vertex_normals, py::arg("V"), py::arg("F"), py::arg("FN"), py::arg("N"));