pointset_smoothing

compas_cgal.reconstruction.pointset_smoothing(points, neighbors=8, iterations=1)

Remove outliers from a point cloud using the point set outlier removal algorithm.

Parameters:
pointslist of compas.geometry.Point or numpy.ndarray

The points of the point cloud.

neighborsint, optional

The number of nearest neighbors to consider for each point.

Returns:
numpy.ndarray

The vectors of the point cloud.