Ok, using Javascript (or something I can easily convert, I know BASIC very well, but a little rusty at C++ and C#) I need to solve this problem/equation:
Given the start and endpoint of a line (in x, y, and z) what point on the line satisfies the equation
A*x+B*y+C*z=D
A, B, C and D are defined, but x y and z are unknowns, but are somehwere on that line I know above. I need to get an x, y, and z of the point back from this.