# Givens: An ellipse, a line and...

This topic is 3056 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

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,

##### Share on other sites
Quote:
 Original post by Eric_89Givens: 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,
What problem are you trying to solve exactly? Can you give us some information about the context?

##### Share on other sites
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?

##### Share on other sites
Had you tried using a sheet of paper and a pen to solve the problem before you asked us to give you pseudo code?

##### Share on other sites
Quote:
Original post by Eric_89
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?
Is 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).

##### Share on other sites
Quote:
 Original post by szecsHad 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..

##### Share on other sites
Quote:
Original post by jyk
Quote:
Original post by Eric_89
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?
Is 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).

no its not homework.. what kind of homework is that??

##### Share on other sites
(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?)

##### Share on other sites
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.

##### Share on other sites
Quote:
 Original post by szecsTry 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.

yes.. but how do we know at which point we should get tangent?

1. 1
2. 2
Rutin
19
3. 3
4. 4
5. 5

• 14
• 13
• 9
• 12
• 9
• ### Forum Statistics

• Total Topics
631438
• Total Posts
3000073
×