[vtkusers] Interpolating point on a surface

Kenneth Porter shiva at sewingwitch.com
Tue Jan 19 19:02:30 EST 2010


--On Tuesday, January 19, 2010 1:21 AM -0500 Darshan Pai 
<darshanpai at gmail.com> wrote:

> I am not exactly sure what you are asking .
> maybe you can try the FindPoint() function in vtkPolyData....

Imagine that I'm given a topo map and know latitude and longitude, and need 
to calculate the altitude.

It looks like FindCell might do what I need:

<http://www.vtk.org/doc/nightly/html/classvtkDataSet.html#a2221c10d3c4cca44e82c5ef70e4e1cbd>

I need to find the triangle that contains an X/Y point, where the Z is 
unknown, so that I can compute the Z.



More information about the vtkusers mailing list