Prob with Midpoint Circle Algorithm Example

Discussion in 'Homework Help' started by zulfi100, Jan 26, 2014.

  1. zulfi100

    Thread Starter Member

    Jun 7, 2012
    320
    0
    Hi,
    I am trying solve an example of Midpoint Circle algorithm which is in a book. I have also found this example at:
    web2.aabu.edu.jo/tool/course_file/lec_notes/901350_S03.ppt‎

    I not able to calculate the value of 2Yk+1. In the above link at slide 40, its value is 20 for radius = 10. However in my view its value should be 18. The formula for :
    is given on slide 36. Plz guide me.

    Zulfi.
     
  2. t_n_k

    AAC Fanatic!

    Mar 6, 2009
    5,448
    782
    Your link doesn't work.
     
  3. WBahn

    Moderator

    Mar 31, 2012
    17,737
    4,789
  4. zulfi100

    Thread Starter Member

    Jun 7, 2012
    320
    0
    Hi,
    I actually accessed it through google. Just now i tried to search:
    & it showed me the link with the name

    In the meantime, i would check the link provided by yourself.
    Thanks for your interest in my problem. Kindly guide me.
    Zulfi.
     
  5. zulfi100

    Thread Starter Member

    Jun 7, 2012
    320
    0
    Hi,
    Thanks. I checked the link. It does not contain the example. I am trying to solve an example. I have checked another link which shows the algorithm on slide # 43:ae.sharif.edu/~aerocad/Output%20primitives.ppt.
    I have also uploaded the images of the slides which i discussed earlier.

    In the example, radius (r=10).

    Zulfi.
     
    • eg.png
      eg.png
      File size:
      179.3 KB
      Views:
      63
    • eqs.png
      eqs.png
      File size:
      199.1 KB
      Views:
      52
Loading...