1
$\begingroup$

I have a half ellipsoid parametrised by $a,b,c,\theta,\phi$ and centered at origin. I have an optimization problem where I estimate the three components of a 3D direction vector $\hat{d}=(x,y,z)$ where, $-1\leq x,y,z\leq 1$. Assume the estimated vector is normalized. Is it possible to know if this estimated direction vector points towards the inside or outside the ellipsoid with only this information? If yes, how? The origin of the direction vector always lies on the surface of the ellipsoid.

$\endgroup$
4
  • 1
    $\begingroup$ $\vec{OP}\cdot\hat d>0$ if $\hat d$ points outwards. $\endgroup$ Commented Oct 11, 2022 at 16:14
  • $\begingroup$ I assume O is the origin and P is the position of $\hat{d}$, is that right? $\endgroup$ Commented Oct 12, 2022 at 5:59
  • $\begingroup$ That works. I could also verify it through visualizations. Thank you. But I am afraid I do not know how to mark the comment as the answer to the question. $\endgroup$ Commented Oct 12, 2022 at 6:31
  • $\begingroup$ If you want you can write an answer yourself. Glad I was of help. $\endgroup$ Commented Oct 12, 2022 at 7:09

1 Answer 1

1
$\begingroup$

As answered by @intelligenti pauca, if the origin of the direction vector on the ellipsoid's surface is $P$, then $\overrightarrow{OP} \cdot \hat{d} > 0$ if $\hat{d}$ points outwards.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .