Suppose the coordinates of points P1, P2 and P3 are being measured. When a line perpendicular to the straight line between P1 and P2 is drawn from point P3, the range (P1 P) between P1 and P can be measured.

 

The coordinates of P1, P2, P3 and P are as follows:

 

 

According to the above figure, vectors a and b will be as follows:

 

 


Suppose the angle formed by straight lines P1, P2 and P1, P3 is theta. By orthogonalizing straight lines P1, P2 and P1, P3, the equation to calculate the measurement of range (P1 P) between P1 and P will be as follows: