I am looking for suggestions for solving the following geometrical problem algebraically.
I have three rays in the 3D space emanating from an origin $O$, say $\alpha$, $\beta$, $\gamma$. I wanted to find a plane $\pi$ intersecting these three lines in the points $A$, $B$, $C$ respectively, so that the triangle $ABC$ is right, say in $B$, and that its sides have known lengths $\overline{AB}$ and $\overline{BC}$. Obviously, $\overline{AC}^2$ = $\overline{AB}^2$ + $\overline{BC}^2$.
Basically, given three rays out of an origin and a right triangle, the plane $\pi$ draws a pyramid having those rays as the edges and that right triangle as the base. It does not matter whether the pyramid is acute or obtuse.
I also understand that the problem may have no solution in particular circumstances. When a solution exists, though, I would like to determine the position of the intersection points $A$, $B$ and $C$ between thosee rays $\alpha, \beta, \gamma$ and that plane $\pi$.
I cast the problem using these symbols: the pyramid edges are the vectors $\vec{a}=OA$, $\vec{b}=OB$, $\vec{c}=OC$; and their unknown lengths are $a = |\vec{a}|, b = |\vec{b}|, c = |\vec{c}|$.
I use the law of the cosines to express the fact that the faces of the pyramid are generic triangles:
$ a^2 - 2 \cos \hat{\alpha\beta}\, ab + b^2 = \overline{AB}^2$
$ b^2 - 2 \cos \hat{\beta\gamma}\, bc + c^2 = \overline{BC}^2$
$ c^2 - 2 \cos \hat{\gamma\alpha}\, ca + a^2 = \overline{CA}^2$
and the Pythagorean theorem to state that the base of the pyramid is a right triangle:
$\overline{AB}^2 + \overline{BC}^2 = \overline{AC}^2 $
I have three nonlinear equations in the three variables $a, b, c$ and one condition. I lack a strategy to solve this system and obtain closed-form formulas for the solution.
My questions are
As a sanity check, does the formulation express the problem well in the first place?
How can I then solve for $a,b,c$ in the system above?
More substantially, I have the impression that you consider the position of the intersection point between the ray $\beta$ and the plane $\pi$, point $B$, known. In your elaboration, if $\vec{v}$ ends up being a unit vector, the starting assumption $\vec{OB} = \vec{b} = \vec{v}$ means that $\overline{OB} = 1$ is a given. This statement cannot be taken for granted in the problem at hand, however; that value should come from the solution too. – XavierStuvw Nov 21 '21 at 10:10