Skip to content

Commit f07431f

Browse files
feat: add binding for cropping capability of point cloud
1 parent a514125 commit f07431f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/diffCheckBindings.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ PYBIND11_MODULE(diffcheck_bindings, m) {
5454

5555
.def("remove_statistical_outliers", &diffCheck::geometry::DFPointCloud::RemoveStatisticalOutliers,
5656
py::arg("nb_neighbors"), py::arg("std_ratio"))
57+
.def("crop", &diffCheck::geometry::DFPointCloud::Crop,
58+
py::arg("min_bound"), py::arg("max_bound"))
5759

5860
.def("load_from_PLY", &diffCheck::geometry::DFPointCloud::LoadFromPLY)
5961
.def("save_to_PLY", &diffCheck::geometry::DFPointCloud::SaveToPLY)

0 commit comments

Comments
 (0)