CropPoint3DGridByNeighborsProximity


Removes from the grid points that are too distant from their neighbor points.

Syntax

C++
C#
Python
 
def CropPoint3DGridByNeighborsProximity(
	inPoint3DGrid: Point3DGrid,
	inNeighborRadius: int,
	inMaxDistance: float,
	inMetric: Metric3D,
	inMinNeighborRatio: float,
	outPoint3DGrid: Point3DGrid,
	/
)
-> None

Parameters

Name Type Range Default Description
Input value inPoint3DGrid Point3DGrid
Input value inNeighborRadius int 1 - Radius of neighbors to search for real neighbors
Input value inMaxDistance float 0.0 - Maximal distance from another point to consider them real neighbors
Input value inMetric Metric3D Metric used for measuring distance between points
Input value inMinNeighborRatio float 0.0 - 1.0 Fraction of valid neighbors in a given radius that have to be real neighbors
Output value outPoint3DGrid Point3DGrid