Subject: CGAL users discussion list
List archive
- From: sushil <>
- To:
- Subject: [cgal-discuss] getting wrong value while doing linear interpolation
- Date: Tue, 25 Feb 2014 05:50:32 -0800 (PST)
Hello all,
In my problem i have a box whose centre is (0,0,0) and the edges of the box
ranges from -4 to 4 in all the three directions ie in x, y and z directions.
the temperature at the point (0,0,0) is 800 degree celsius. and the
temperature varies in only one direction ie in vertical direction in my case
it is z axis. the variation is given by function (800-100(absolute (z
cordinate)). i have 1000 points and temperatures at those points are also
known according to the function. now i need to find the value of temperature
at the query point (-1.78, 3.75, 0.35) which according to the
function must come around 765 degree celsius but is coming nearly 735 degree
celsius. what is going wrong?
firstly i formed a delaunay triangulation of all the 1000 points mapped with
the temperature at these points. then found out the neighbor points of the
query point and then i did the linear interpolation. but it resulted in
wrong answer.
any help would be deeply appreciated.
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/getting-wrong-value-while-doing-linear-interpolation-tp4658858.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] getting wrong value while doing linear interpolation, sushil, 02/25/2014
Archive powered by MHonArc 2.6.18.