Givens: An ellipse, a line and...
Givens: An ellipse, a line and a point on it.
Question: Find a position for ellipse so it touches the point and doesn’t cross the line.
(Preferably pseudo code style solution)
Thanks,
Quote:Original post by Eric_89What problem are you trying to solve exactly? Can you give us some information about the context?
Givens: An ellipse, a line and a point on it.
Question: Find a position for ellipse so it touches the point and doesn’t cross the line.
(Preferably pseudo code style solution)
Thanks,
Quote:What problem are you trying to solve exactly? Can you give us some information about the context?
I wrote the simplified version of problem.
The original question is: we have a circle and an ellipse. Find positions of ellipse so it touches the circle but not crossing it. (and no rotations)
So for example: If we have teta an angle of circle. where would be the ellipse?
Had you tried using a sheet of paper and a pen to solve the problem before you asked us to give you pseudo code?
Quote:Original post by Eric_89Is this a homework problem? If so, be sure to check the forum FAQ (specifically what it has to say about asking homework questions on the forums).Quote:What problem are you trying to solve exactly? Can you give us some information about the context?
I wrote the simplified version of problem.
The original question is: we have a circle and an ellipse. Find positions of ellipse so it touches the circle but not crossing it. (and no rotations)
So for example: If we have teta an angle of circle. where would be the ellipse?
Quote:Original post by szecs
Had you tried using a sheet of paper and a pen to solve the problem before you asked us to give you pseudo code?
yes.. but I'm a little confused..
Quote:Original post by jykQuote:Original post by Eric_89Is this a homework problem? If so, be sure to check the forum FAQ (specifically what it has to say about asking homework questions on the forums).Quote:What problem are you trying to solve exactly? Can you give us some information about the context?
I wrote the simplified version of problem.
The original question is: we have a circle and an ellipse. Find positions of ellipse so it touches the circle but not crossing it. (and no rotations)
So for example: If we have teta an angle of circle. where would be the ellipse?
no its not homework.. what kind of homework is that??
(so if someone writes a clean question.. y think its homework? would y rather I write here a full page of my problems in geometries of my game?)
Try to look into the attributes of ellipses (Wiki will help).
But you can use the equations of the shapes: the equations, and the first derivates (tangent) should be equal at that point.
But you can use the equations of the shapes: the equations, and the first derivates (tangent) should be equal at that point.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement