Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# C#4.0 geometry
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
Comments
d@nish at 10-Aug-12 5:57am
   
As interesting as this sounds, have you tried something?
Volynsky Alex at 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 at 13-Aug-12 2:56am
   
thanks Alex
Volynsky Alex at 13-Aug-12 7:34am
   
You are welcome
Rate this: bad
good
Please Sign up or sign in to vote.

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
  Permalink  
v5
Comments
ravithejag at 13-Aug-12 2:56am
   
Hi Manfred,
i need to find the point by the specified angle
Manfred R. Bihy at 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 at 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)



Advertise | Privacy | Mobile
Web03 | 2.8.1411022.1 | Last Updated 7 Sep 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

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