Suppose I have a vector whose starting end is the origin & the other end can be in any of the 8 quadrants (in 3d).
I can easily get direction ratios for the vector & also know in which quadrant the vector ends (from ($x$, $y$, $z$) value of end point).
From this I think we can calculate the inclination of the vector with the three axes. but it gets very complicated because $\cos(A) = \cos(-A)$ & $\cos(A) = -\cos(\pi + A)$. I just want the inclination of the vector with positive direction of $x$-, $y$- and $z$-axis.
Actually I am needing this in my software project. so, it would be kind if u could provide me with a general formula or algorithm. Thank you.