Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Re: 3D Interpolation

> I have a lot of points (not equal distributed) in an 3D-plot. Now I want
> to interpolate (linear, quadratic, ...) these points. Is this possible
> with VisAD? Suggestions?

Yes. Use the locations of the points to construct an Irregular3DSet
(which will implicitly invoke a Delaunay algorithm). The use the
Irregular3DSet as the domain Set of a FlatField, with dependent
values in the Field's range. Then construct a Set of locations you
want to interpolate to (may be a SingletonSet for a single point,
or any other visad.*Set class), and pass it to the resample()
method of your FlatField. The range value of the returned FlatField
will be interpolated values of your dependent values. Note
Irregular3DSet uses linear interpolation over the tetrahedra
found by the Delaunay algorithm.

Good luck,
Bill
----------------------------------------------------------
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738
http://www.ssec.wisc.edu/~billh/vis.html


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690