Linear interpolation of three 3D points in 3D space
I have three 3D points like p1(x1,y1,z1),p2(x2,y2,z2), p3(x3,y3,z3). I
have another point, but I know only x, y value of that point like
p4(x4,y4,Z), in which Z is the value I like to compute. I am sure
p4(x4,y4) point is inside a triangle formed by p1(x1,y1),p2(x2,y2),
p3(x3,y3) by checking with delaunay triangulation approach. How can I
compute Z value of point p4? I like to implement it in C programming.
Actually I am trying to implement griddata in Matlab. Thanks
No comments:
Post a Comment