Nicholl–Lee–Nicholl

Nicholl–Lee–Nicholl

The Nicholl-Lee-Nicholl algorithm is a fast line clipping algorithm that reduces the chances of clipping a single line segment multiple times, as may happen in the Cohen-Sutherland algorithm.

Description

Using the Nicholl–Lee–Nicholl algorithm, the area around the clipping window is divided into a number of different areas, depending on the position of the initial point of the line to be clipped. This initial point should be in three predetermined areas; thus the line may have to be translated and/or rotated to bring it into the desired region. The line segment may then be re-translated and/or re-rotated to bring it to the original position. After that, straight line segments are drawn from the line end point, passing through the corners of the clipping window. These areas are then designated as L, LT, LB, or TR, depending on the location of the initial point. Then the other end point of the line is checked against these areas. If a line starts in the L area and finishes in the LT area then the algorithm concludes that the line should be clipped at xw (max). Thus the number of clipping points is reduced to one, compared to other algorithms that may require two or more clipping points.

See also

Algorithms used for the same purpose:

  • Liang–Barsky Algorithm
  • Cyrus–Beck
  • Fast-clipping

References



Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • Nicholl-Lee-Nicholl — is one of computer graphics line clipping algorithms. It uses symmetry to categorize endpoints into one of three regions (in the clip window, edge, and corner). Then according to endpoint category it checks several clip cases.For the point we… …   Wikipedia

  • Lee Makel — Personal information Full name Lee Robert Makel Date of birth 11 January 1973 (19 …   Wikipedia

  • Nicholl — Not to be confused with Nichol, Nicol, or Nicoll. Nicholl is a surname, and may refer to People Andrew Nicholl (1804 – 1886), Irish artist Anthony Nicholl (died 1658), English politicia Charles Nicholl (1870 – 1939), Wales international rugby… …   Wikipedia

  • Nicholl Fellowships in Screenwriting — The Don and Gee Nicholl Fellowships in Screenwriting is a fellowship program founded in 1986 to aid screenwriters. It is administered by the Academy of Motion Picture Arts and Sciences. Contents 1 History 2 Past Fellows 3 References …   Wikipedia

  • Chris Nicholl — Personal information Full name Christopher John Nicholl Date of birth 12 October 1946 ( …   Wikipedia

  • Colin Lee — Personal information Full name Colin Lee Date of birth 12 June 1956 (1956 06 12 …   Wikipedia

  • List of Three's Company episodes — This is a list of episodes of the American sitcom Three s Company that aired from 1977 84 on ABC. Contents 1 Series overview 2 Episodes 2.1 Season 1: 1977 2.2 …   Wikipedia

  • Walsall F.C. — Infobox Football club clubname = Walsall fullname = Walsall Football Club nickname = The Saddlers sponsor = Easy Fit Conservatories founded = 1888 (as Walsall Town Swifts) ground = Bescot Stadium, Walsall capacity = 11,300 chairman =… …   Wikipedia

  • Millwall F.C. — Millwall Full name …   Wikipedia

  • Christopher Marlowe — This article is about the English dramatist. For the American sportscaster, see Chris Marlowe. Christopher Marlowe …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”