pointset_normal_estimation

compas_cgal.reconstruction.pointset_normal_estimation(points, neighbors=8, erase=False)

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.

erasebool, optional

Erase points that are not oriented properly.

Returns:
numpy.ndarray

The vectors of the point cloud.