Solved

Please help understand these lecture notes on Bresenham's Line Algorithm

Posted on 2009-05-03
3
297 Views
Last Modified: 2013-11-19
Why are d1 and d2 introduced?

What does the "relative distances of 2 pixels from the actual position" mean?

Thanks in advance
page1.jpg
page2.jpg
page3.jpg
0
Comment
Question by:jtiernan2008
  • 2
3 Comments
 
LVL 84

Assisted Solution

by:ozo
ozo earned 300 total points
ID: 24291975
> Why are d1 and d2 introduced?
To avoid having to write (y-yi) and (yi+1-y) every time
0
 
LVL 84

Accepted Solution

by:
ozo earned 300 total points
ID: 24291983

> What does the "relative distances of 2 pixels from the actual position" mean?
It means the difference between the two distances, or which distance is larger
0
 
LVL 27

Assisted Solution

by:aburr
aburr earned 200 total points
ID: 24292237
Each pixel has an actual position determined by the x and y pair for that pixel.
[example. Pixel 1 has a position of (7 ,7), Pixel 2, in a different direction has a position of (-7, -7)]
The relative position is the distance between the pixels.
[In this example 98 units]
0

Featured Post

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Question of probability 6 101
Graph 2 88
x2 – x2 = x2 – x2 conundrum 12 70
Just learning algebra / need solution explained 4 27
Introduction On a scale of 1 to 10, how would you rate our Product? Many of us have answered that question time and time again. But only a few of us have had the pleasure of receiving a stack of the filled out surveys and being asked to do somethi…
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
In this Micro Tutorial viewers will learn the basic shortcuts and functions in InDesign.
Learn the basics of inputting and editing your text components in Prezi. We will cover how to set styles, position, and group your text components. In your Prezi editor, click anywhere on the canvas to add text: A flashing cursor informs you that yo…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question