Tool

Closest Points

Vector

Find closest point in a point collection

Docs for v2.1.18, the latest version.

ID

tool-vector-closest-points

Group

Vector

Plugin

Tool

Keywords

closestPnt
nearestPnt
closestPoint
3 inputs, 3 outputs

Ports

Inputs

3

What the node takes in, from wires or typed values.

Points

Point

List of points to search

Point

Point

Default [0,0,0]

Point to search from

Count

Number

Default 3

Number of closest points to find

Outputs

3

What the node gives out, to wire into other nodes.

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

Creation method#

There are two options for creating the Closest Points node.#

  • The first way to create the Closest Points node is using the search list, which is opened by double left-clicking in the workspace. You can write the name of the node you need or words associated with this node.
    • closestPts, nearestPts, closestPoints
  • The second way is to select the Project Points node from the menu that opens from the top left.
    • Menu > Tool > Vector > Closest Points

Steps#

  • Create the Closest Points node.
  • Connect the list of points for the search to the first port.
  • Connect the point for the search to the second port.
  • Connect the number of the closest points to find to the third port.

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.

See also#

Project Point
Point Distance\

History

First documented in v2.1.18

Oct 20, 2026

Versions before it were published before changes were recorded.