A Line Clipping Algorithm in computer graphics
Look at the following set of lines. The rectangle indicates the screen in which they are to be displayed How to decide which of the lines, or more precisely which part of every line is to be displayed. The concept is simple. Since we know the coordinates of the screen, i) Any line whose end … Read more