Tool

Vector

Closest Point

  • Surface

  • Vector

  • Transform

  • Primitive Curves

  • Curve Analysis

  • Toolset

  • Triangulation

  • Boolean Operation

  • Panels

  • Solid

  • Intersection

  • Text

  • Image

  • Analysis

  • Array

  • Render

  • 3D Object

Closest Point

Find closest point in a point collection

Details

ID

tool-vector-closest-point

Name

Closest Point

Group

Vector

Package

Tool

Keywords

closestPnt
nearestPnt
closestPoint

Input ports

NameTypeDescriptionDefault Value
Points
Point
List of points to search
Point
Point
Point to search from[0,0,0]

Output ports

NameTypeDescription
Point
Point
Point in list closest to given point
I
Number
Index of closest point
Distance
Number
Distance between the given point and closest point

Creation method

There are two options for creating the Closest Point node.

  • The first way to create the Closest Point 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.
    • closestPnt, nearestPnt, closestPoint
  • The second way is to select the Closest Point node from the menu that opens from the top left.
    • Menu > Tool > Vector > Closest Point

Steps

  • Create the Closest Point node.
  • Connect the list of points for the search to the first port.
  • Connect the point for the search to the second 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. 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.

See also

Project Point
Point Distance\