Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
hi
I want to find the point on the ellipse that intersects with an given angle taken from the origin.
Posted
Comments
dan!sh 10-Aug-12 5:57am    
As interesting as this sounds, have you tried something?
Volynsky Alex 10-Aug-12 6:01am    
Please look here:
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

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
 
Share this answer
 
v5
Comments
ravithejag 13-Aug-12 2:56am    
Hi Manfred,
i need to find the point by the specified angle
Manfred Rudolf 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.
BillW33 13-Aug-12 14:51pm    
Good answer, +5

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900