Skip to main content
Log in

Corrections to Lee's visibility polygon algorithm

  • Part I Computer Science
  • Published:
BIT Numerical Mathematics Aims and scope Submit manuscript

Abstract

We present a modification and extension of the (linear time) visibility polygon algorithm of Lee. The algorithm computes the visibility polygon of a simple polygon from a viewpoint that is either interior to the polygon, or in its blocked exterior (the cases of viewpoints on the boundary or in the free exterior being simple extensions of the interior case). We show by example that the original algorithm by Lee, and a more complex algorithm by El Gindy and Avis, can fail for polygons that wind sufficiently. We present a second version of the algorithm, which does not extend to the blocked exterior case.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
EUR 32.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or Ebook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. H. El Gindy and D. Avis:A linear algorithm for computing the visibility polygon from a point, J. Algorithms, 2, (1981), pp. 186–197.

    Article  Google Scholar 

  2. H. Freeman and P. P. Loutrel:An algorithm for the solution of the two-dimensional hidden-line problem, IEEE Trans. on Electronic Computers, EC-16, (1967), pp. 784–790.

    Google Scholar 

  3. P. Henrici:Applied and Computational Complex Analysis, Vol. 1, John Wiley & Sons, (1974).

  4. B. Joe and R. B. Simpson:Visibility of a simple polygon from a point, Technical Report CS-85-38. Dept. of Computer Science, Univ. of Waterloo, (1985).

  5. B. Joe and R. B. Simpson:Triangular meshes for regions of complicated shape, Int. J. for Num. Meth. in Eng., 23 (1986), pp. 751–778.

    Google Scholar 

  6. B. Joe and R. B. Simpson:Algorithms and correctness proofs for visibility polygon computations, Technical Report CS-87-03, Dept. of Computer Science, Univ. of Waterloo, (1987).

  7. D. T. Lee:Visibility of a simple polygon, Computer Vision, Graphics, and Image Processing, 22 (1983), pp. 207–221.

    Google Scholar 

  8. B. Schachter:Decomposition of polygons into convex sets, IEEE Trans. on Comp., C-27, (1978), pp. 1078–1082.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Additional information

This work was partially supported by grants from the Central Research Fund of the University of Alberta and the Natural Sciences and Engineering Research Council of Canada.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Joe, B., Simpson, R.B. Corrections to Lee's visibility polygon algorithm. BIT 27, 458–473 (1987). https://doi.org/10.1007/BF01937271

Download citation

  • Received:

  • Revised:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF01937271

CR Categories

Keywords

Navigation