For well chosen
values, this line intersects the ellipse. Let
be the cartesian coordinates of the intersection point
:
where
is the signed distance between the test point
and the
intersection point
.
is positive if the test point is
outside of the ellipse and negative otherwise. Note that the sign of
implies the choice of the line orientation, so depending on the
test point location inside or outside of the ellipse, we have to
choose either
or
; the following equations take
care of this choice. Since the intersection point
belongs
to the ellipse, its coordinates verify equation:
![]() |
![]() | ||
| (5) | ![]() |
Luc Maisonobe 2006-02-04