Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance LargestEmptyCircle boundary handling #859

Merged
merged 1 commit into from
Apr 2, 2023

Conversation

dr-jts
Copy link
Contributor

@dr-jts dr-jts commented Apr 1, 2023

Enhances LargestEmptyCircle to allow boundaries to be any polygonal geometry. The boundary may have any spatial relationship to the obstacles (containing, intersecting, or disjoint), or may be empty.

Port of part of locationtech/jts#973
Fixes #855

This allows constraining the LEC center point to a polygonal geometry.

image

To constrain the entire LEC circle, add the boundary polygon boundary (edges) as linear constraints.

image

@dr-jts dr-jts added the Enhancement New feature or feature improvement. label Apr 1, 2023
@dr-jts dr-jts merged commit 03a63eb into libgeos:main Apr 2, 2023
@dr-jts dr-jts deleted the enhance-lec-boundary branch April 2, 2023 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or feature improvement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LargestEmptyCircle: is the boundary considered as obstacle as well?
1 participant