# Linear Interpolation

1. Jul 11, 2005

### laminatedevildoll

I have a 3-D traingle, and the edges are a,b,c. If I want to find a line interpolation at a point in the center, let's say that it's P(x,y)....

My equations are
$$\Delta Z$$ = A + Bx + Cy
$$\Delta Z_a$$ = A + Bx_a + Cy_a
$$\Delta Z_b$$ = A + Bx_b + Cy_b
$$\Delta Z_c$$ = A + Bx_c + Cy_c

In order to solve for $$\Delta Z$$, how do I use the above equations? Do I have to add them (equations 2,3,4) all up and substitute in A for the first equation?

To find the coefficients, do I just solve for A,B,C after I know what $$\Delta Z$$ is?

I also have to find out P(y) by assuming that I know what P(x,z) is. For this do I just substiture y for z to the same equations?

Also, I have to find a best average planar rectangle from this.

I'd appreciate any help.

Last edited: Jul 11, 2005