• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Circumference of an ellipse

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    #21
    approximate

    Circumference = 2 * pi * sqrt((a^2+b^2)/2)

    Comment


      #22
      Originally posted by zeitghost
      Breshenham's Algorithm indeed...
      Was he the one who went mad?

      Comment


        #23
        Originally posted by zeitghost
        dunno.

        But he drew circles using only integers which is probably enough to make you mad...
        Oh I see. Big, boxy ones I suppose. Picasso geometry.

        Comment


          #24
          Originally posted by andrew_neil_uk
          Does anyone have a formula for the circumference of an ellipse please?

          Thanks
          Unlike the area, which is PI.a.b (where a and b are the semiaxes major and minor), the circumference can't in general be expressed finitely in terms of elementary functions and constants. But it can be in terms of elliptic functions, e.g. 4.a.F(e) in which e is the eccentricity (= SQRT(1 - (b/a)^2) and F is the Complete Elliptic Integral of the Second Kind

          As usual, Wikipedia has a good writeup

          Also David Cantrell posted some references to good approximations here
          Last edited by OwlHoot; 31 July 2007, 23:41.
          Work in the public sector? Read the IR35 FAQ here

          Comment


            #25
            Originally posted by zeitghost
            dunno.

            But he drew circles using only integers which is probably enough to make you mad...
            His line drawing algorithm was a beaut!

            All because of his work on Plotters and pixel based displays.

            A clever chap indeed.

            Circles is easy. They're symetrical in all axes so you only have to calculate 1/8 of one anyway.

            Now, rotating Ellipses are very pretty.

            Comment


              #26
              Originally posted by andrew_neil_uk
              Did you have to calculate their circumference?
              I was circumferenced when I was six years old.
              "A people that elect corrupt politicians, imposters, thieves and traitors are not victims, but accomplices," George Orwell

              Comment


                #27
                Originally posted by Paddy
                I was circumferenced when I was six years old.
                Have you still got the bit they chopped off?

                Comment

                Working...
                X