Results 1 to 3 of 3

Math Help - Calculate point on ellipse

  1. #1
    Newbie
    Joined
    Jun 2012
    From
    Oxford, UK
    Posts
    2

    Calculate point on ellipse

    Hi

    If I have an ellipse like this (not very good) illustration below. I know the length of the major & minor axis's, I know the distance between A and B, A and C, etc. The angle of the red lines will always be 90 degrees.

    Could someone tell me the formula for calculating points on the ellipse for the red lines?

    Calculate point on ellipse-ellipse-q.gif

    Ultimately, I want to programmatically draw segments of the ellipse like in the second image. I figure I can do this using bezier curves once I know how to work out points on an ellipse.

    Thanks
    Bigus
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor

    Joined
    Apr 2005
    Posts
    15,545
    Thanks
    1394

    Re: Calculate point on ellipse

    An ellipse with axis a in the x- direction and axis b in the y-direction can be written as
    \frac{x^2}{a^2}+ \frac{y^2}{b^2}= \frac{1}{4}

    Solving for x, \frac{x^2}{a^2}= \frac{1}{4}- \frac{y^2}{b^2}= \frac{b^2- 4y^2}{4b^2}
    x= \pm a\frac{\sqrt{b^2- 4y^2}}{2b}
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Jun 2012
    From
    Oxford, UK
    Posts
    2

    Re: Calculate point on ellipse

    Thank you for the reply. I think I've managed to interpret that into a suitable equation for the code (work in progress!).
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. points on ellipse closest to a point
    Posted in the Calculus Forum
    Replies: 3
    Last Post: June 29th 2012, 06:04 AM
  2. Replies: 2
    Last Post: August 6th 2010, 08:48 PM
  3. Mid-point of chord on ellipse
    Posted in the Geometry Forum
    Replies: 1
    Last Post: May 13th 2010, 01:40 AM
  4. how calculate chord length of ellipse.
    Posted in the Geometry Forum
    Replies: 2
    Last Post: February 2nd 2010, 02:54 AM
  5. point on an ellipse
    Posted in the Calculus Forum
    Replies: 5
    Last Post: September 8th 2006, 07:44 AM

Search Tags


/mathhelpforum @mathhelpforum