Closest points to points
Finds the closest target points to source points.
Inputs
-
mode
- Sets the method in which points are found. This can be either
closest point
ornumber of points within radius
.
- Sets the method in which points are found. This can be either
-
source points
- The list of source points to find the closest points among the target points.
-
target points
- The list of target points among which the closest points are found from the source points.
-
calculate distance
- Sets whether to calculate the distances between the source points and their nearest target points or not.
-
radius
- The value that defines the size of the radius in which a number of points are found when the mode is set to
number of points within radius
.
- The value that defines the size of the radius in which a number of points are found when the mode is set to
Outputs
-
geometry
- Output primitives.
-
points
- The list of points of the output primitives.
-
points.x
- The list of x values of the points of the output primitives.
-
points.y
- The list of y values of the points of the output primitives.
-
points.z
- The list of z values of the points of the output primitives.
-
indices
- The list of indices of the closest target points.
-
distances
- The distances between the source points and the closest target points.
-
number of points within radius
- The number of target points within the defined radius from each source point when the mode intput is set to
number of points within radius
.
- The number of target points within the defined radius from each source point when the mode intput is set to
Note(s)
- Other names for this node include: ClosestPointsToPoints, Nearest, Distance, Radius, and Neighbour.