Find closest point in a point collection
ID
tool-vector-closest-point
Name
Closest Point
Group
Vector
Package
Tool
Keywords
Render
After creating a node, connect the list of points for the search to the first port. Connect the point to search from to the second port. On the output ports, we will get a result point in the list closest to a given point, the index of the closest point, and the distance between the given point and the closest point.
Project Point
Point Distance\
Inputs
Name | Type | Description | Default Value |
---|---|---|---|
points | Point | List of points to search | |
point | Point | Point to search from | [0,0,0] |
Outputs
Name | Type | Description |
---|---|---|
closestPoint | Point | Point in list closest to given point |
index | Number | Index of closest point |
distance | Number | Distance between the given point and closest point |