Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8857569
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T14:37:18+00:00 2026-06-14T14:37:18+00:00

Suppose there is a polygon with no holes and self-intersections (i.e. a simple polygon)

  • 0

Suppose there is a polygon with no holes and self-intersections (i.e. a simple polygon) defined by n vertices. Choose a reflex vertex v of this polygon.

I’d like to find any other vertex u of the same polygon which is “visible” from the vertex v. By visible I mean, that a line segment between v and u lies completely inside the polygon.

Is there an algorithm to do that in O(N) time or better? Is there an algorithm that can find all visible vertices in O(N) time?

A quick research suggests that for a given polygon and any point inside this polygon a visibility polygon can be constructed in O(N). I assume that finding a single visible vertex should be even easier.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T14:37:19+00:00Added an answer on June 14, 2026 at 2:37 pm

    This problem was solved 30 years ago:

    ElGindy and Avis, “A linear algorithm for computing the visibility polygon from a point”, J. Algorithms 2, 1981, p. 186–197.

    There is a very nice paper by Joe & Simpson, 1985, “Visibility of a simple polygon from a point,” that offers carefully verified pseudocode:
    (PDF download link).
    This surely has been implemented many times since, in many languages.
    For example, there is a link at the Wikipedia article on the topic.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

suppose there is a script doing something like this: # module writer.py import sys
Suppose there is a situation like : statement 1; statement 2; statement 3; statement
Suppose there is an image_url column in database. I want the user to choose
Suppose there is a System A which gives some output. This output is used
Suppose there are 10,000 JPEG, PNG images in a gallery, how to find all
Suppose there are two colors defined in CMYK: color1 = 30, 40, 50, 60
suppose we have convex polygon with vertices (v0,v1,....vn) my aim is to determine if
Suppose there are 10 joins in a query and i want to find which
Suppose there are two entities EntityA and EntityB. Two tables are defined for both
Suppose there is a singleton class in an assembly named Common . This DLL

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.