How I can find direction vector of line if I know only two angles (azimuth and polar) and one start point(x0,y0,x0)?

28 Views Asked by At

I have one start point x0,y0,z0, and two angles. Theta(polar(0-180)) and Phi(azimuth (0-360)). And now I need to find the direction of the vector of the reflected line 3d space box with parameters (4,5,6)

I tried to calculate using geometry formula and use cos and sin, adjacent, and opposite. But it gave me the wrong answer for my further cycle calculation I suppose I need some equation to write. Some kind of i, j, k. I could not calculate the slope as I don’t have enough input.