12,065,045 members (40,503 online)
Rate this:
See more:
hi
I want to find the point on the ellipse that intersects with an given angle taken from the origin.
Posted 10-Aug-12 0:44am
d@nish 10-Aug-12 5:57am

As interesting as this sounds, have you tried something?
Volynsky Alex 10-Aug-12 6:01am

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
ravithejag 13-Aug-12 2:56am

thanks Alex
Volynsky Alex 13-Aug-12 7:34am

You are welcome

Rate this:

Solution 1

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
v5
ravithejag 13-Aug-12 2:56am

Hi Manfred,
i need to find the point by the specified angle
Manfred R. Bihy 13-Aug-12 11:37am

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.
CIDev 13-Aug-12 14:51pm

Rate this:

Solution 2

Top Experts
Last 24hrsThis month
 OriginalGriff 150 RDBurmon 100 ppolymorphe 50 CPallini 50 nv3 40
 Dave Kreskowiak 1,857 Richard MacCutchan 1,250 d@nish 980 OriginalGriff 909 CPallini 790