Given two points, $M_1(X_1,Y_1,Z_1)$ and $M_2(X_2,Y_2,Z_2)$,$P(X_p, Y_p,Z_p)$ is the unknown point. How to get the coordinates of $P$ by three angle observation .
The picture below displays the relationship between these points and observations.
$Q_1(X_1,Y_1,Z_p)$,$Q_2(X_2,Y_2,Z_p)$,$P(X_p, Y_p,Z_p)$ are on the horizontal plane $Z=Z_p$, the coords of $Q_1, Q_2$ means $M_1Q_1\bot Q_1P, M_2Q_2\bot Q_2P$. We have known three angle observations $\beta_1=\angle Q_1PM_1, \beta_2=\angle Q_2PM_2, \gamma=\angle Q_1PQ_2$. How to get $P(X_p, Y_p,Z_p)$?
I've tried to use vector vector angle formula to list three equations but it's hard to solve it. Can we denote $P(X_p, Y_p,Z_p)$ as $$X_p=f(X_1,Y_1,Z_1,X_2,Y_2,Z_2, \beta_1, \beta_2, \gamma)$$ $$Y_p=g(X_1,Y_1,Z_1,X_2,Y_2,Z_2, \beta_1, \beta_2, \gamma)$$ $$Z_p=u(X_1,Y_1,Z_1,X_2,Y_2,Z_2, \beta_1, \beta_2, \gamma)$$
