Regards,

Manfred

hi

I want to find the point on the ellipse that intersects with an given angle taken from the origin.

I want to find the point on the ellipse that intersects with an given angle taken from the origin.

ravithejag3.8K

Comments

All you need to solve that is explained rather nicely here: Points of Intersection of an Ellipse and a line[^]. Just rember that a line that goes through the point of origin is inevitably of the form:

y = x * a

With a = tan(alpha) with alpha being the angle between the abscissa[^] and the ordinate[^].

Regards,

Manfred

Regards,

Manfred

v5

Comments

Hi Manfred,

i need to find the point by the specified angle

i need to find the point by the specified angle

And now? I already told you in my solution that the a line going through the point of origin has the function y = x * tan(alpha) where alpha is said angle. Which part of that did you not understand? BTW, there can be more than one point of intersection.

Good answer, +5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject,
503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada
+1 416-849-8900 x 100

http://stackoverflow.com/questions/10692541/how-to-find-a-point-where-a-line-intersects-an-ellipse-in-2d-c

http://stackoverflow.com/questions/9032698/calculate-intersection-of-two-ellipses

and here:

http://stackoverflow.com/questions/2945337/how-to-detect-if-an-ellipse-intersectscollides-with-a-circle