Closest point on curve

Finds the closest point on an input curve to input points.


Inputs

  • geometry

    • The input curves to find closest point on.

    • Accepts a single geometry connection (unless the SHIFT key is held).

  • positions

    • The list of vector values of the points’ positions.
  • accuracy

    • The value that determines how accurate the point is found on the input curve.

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.
  • distances

    • The list of distances between the input positions and the found points on the input curve.
  • u coordinates

    • The list of u coordinates of the found points on the input curve.

Note(s)

  • Other names for this node include: ClosestPointOnCurve, Nearest, and Distance.

Example(s)