I'm not sure this is the right place to ask this question, if not I do apologies and I will move on. I am asking this question as a programmer, however it seemed entirely maths based.
Image one is sitting still and holds in front of their face a sheet of graph paper with grid lines. This piece of paper represents a 2D plane, however although it exists inside of another 3D environment, it can be move about such that it's axis may not line up in any meaningful way.
Given 3 points where both the real world X,Y,Z values are known and the relative X,Y coordinates of their position within the paper drawn grid and given that two of these points share the same virtual 2D Y value but differ on X and the third point shares neither the same X nor Y value but does indeed exist on the same virtual 2D plane.
How can I then transform any given coordinate of one set to the other. Say I want to know where square (12,20) on the graph paper exists in the real world and vice versa.
Also, say I have a set of real world coordinates that is not on my 2D plane but directly above it. Is there a way and if so, how would i: traverse "downwards" through 3D space perpendicular to the find the 2D point directly below.