Tool
Surface
Intersection
Transform
Image
Vector
Toolset
Triangulation
Solid
Analysis
Panels
Curve Analysis
Render
3D Object
Primitive Curves
Boolean Operation
Text
Array
Closest Points
Find closest point in a point collection
Details
ID
tool-vector-closest-points
Name
Closest Points
Group
Vector
Package
Tool
Keywords
Input ports
| Name | Type | Description | Default Value |
|---|---|---|---|
| Points | Point | List of points to search | |
| Point | Point | Point to search from | [0,0,0] |
| Count | Number | Number of closest points to find | 3 |
Output ports
| Name | Type | Description |
|---|---|---|
| Points | Point | Point in list closest to given point |
| I | Number | Index of closest point |
| Distances | Number | Distance between the given point and closest point |
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, and the number of the closest points to find to the third port. On the output ports, we will get a result points in the list closest to a given point, the index of the closest points, and the distance between the given point and the closest points.
Project Point
Point Distance\