Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Distance between point and 3D spline

  1. Jul 7, 2011 #1

    I have a few dozen nodes spaced in a helix shape and an object trying its best to follow the path of the nodes. The nodes are like pylons/cones on the road, and the object is the car trying to navigate and follow them. The helix isnt perfect, so Im thinking to use a spline curve to fit the nodes. I need help determining the distance of the object to the curve. I have the XYZ co-ordinates of all nodes and the object at all times.

    How do you suggest I fit the nodes and then how would I find the closest distance to the curve?

    All help is appreciated. Thank you.
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?