Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross 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
Sep 23, 2007
1
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