Line Clipping - Fast Clipping

Fast Clipping

This algorithm has similarities with Cohen-Sutherland. The start and end positions are classified by which portion of the 9 area grid they occupy. A large switch statement jumps to a specialized handler for that case. In contrast, Cohen-Sutherland may have to iterate several times to handle the same case.

Read more about this topic:  Line Clipping

Famous quotes containing the word fast:

    Although knaves win in every political struggle, although society seems to be delivered over from the hands of one set of criminals into the hands of another set of criminals, as fast as the government is changed, and the march of civilization is a train of felonies, yet, general ends are somehow answered.
    Ralph Waldo Emerson (1803–1882)