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 8137675
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T11:13:23+00:00 2026-06-06T11:13:23+00:00

So, for work I’m working on a robot controller that explores an arbitrary region.

  • 0

So, for work I’m working on a robot controller that explores an arbitrary region. The region is defined by a series of vertices (it’s a polygon). Here’s an example:

An example region.

The robot starts in the middle and tries to reach the outermost boundary and then follow it all the way around. However, due to the nature of terrain, it may be unable to reach certain areas, and can only explore a given region:

Full exploration is blocked.

What I want to do is calculate all individual regions that have not been explored, and return the vertices that defines their boundaries, like this:

The calculated regions

After this is computed, I should have a new array of polygons, containing the geometry for A, B, and C.

Unfortunately, I can’t come up with a good, fast algorithm to do this. What’s the best way to compute this?

  • 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-06T11:13:26+00:00Added an answer on June 6, 2026 at 11:13 am

    One method is to define a predicate for a point p to be “touching” the boundary of the enclosing region, perhaps according to some tolerance ε > 0, e.g., T if and only if p is within a distance of ε of the boundary. Then traverse the boundary of the explored region, noting this predicate for each vertex: ..,T, T, T, F, F, F, F, F, T, T,... Then your regions are delimited by maximal strings of Fs, the two T vetices bounding those Fs, and the bounding region’s boundary between. The string I just used as an example outlines your region B: five Fs.

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

Sidebar

Related Questions

I work with unordered_set . Here it's written that it has a reserve function
I work in a group that does a large mix of research development and
I work with a client that is using purchase orders, and a custom order's
I work for a very large organization that is looking for new ideas. Currently
I work in a school district and plan to produce unique PDF reports that
I work on an application that uses Spring MVC and Hibernate. I am implementing
I work in an environment that is totally .NET. However, over the past few
At work we use this construction to, for example, find out the names of
I work with an e-commerce website that uses a PayPal checkout component written in
At work it is requested that I make a program that can broadcast a

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.