Skip to content

Commit 3486fa4

Browse files
feat: add python binding for axis calculation
1 parent 4809f30 commit 3486fa4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/diffCheckBindings.cc

+3
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ PYBIND11_MODULE(diffcheck_bindings, m) {
5555
.def("remove_statistical_outliers", &diffCheck::geometry::DFPointCloud::RemoveStatisticalOutliers,
5656
py::arg("nb_neighbors"), py::arg("std_ratio"))
5757

58+
.def("get_principal_axes", &diffCheck::geometry::DFPointCloud::GetPrincipalAxes,
59+
py::arg("n_components") = 6)
60+
5861
.def("load_from_PLY", &diffCheck::geometry::DFPointCloud::LoadFromPLY)
5962
.def("save_to_PLY", &diffCheck::geometry::DFPointCloud::SaveToPLY)
6063

0 commit comments

Comments
 (0)