Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Closest point on surface

Status
Not open for further replies.

jbw9f

Mechanical
Joined
Sep 23, 2007
Messages
1
Location
US
I have a grid of z points from griddata representing a surface.

For an arbitrary coordinate (x,y,z) in space, how might I find the closest point (x,y,z) on the surface z. I need to do this many times and would rather not minimize the distance formula across all points.

Dsearch,tsearch, etc only work on coordinate arrays, not grids. Any other solution thoughts? Is there a simple function I'm missing?

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top