-
Notifications
You must be signed in to change notification settings - Fork 353
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
MaximumInscribedCircle and LargestEmptyCircleCenter #310
Conversation
…e boundary object
extern GEOSGeometry GEOS_DLL *GEOSMaximumInscribedCircleRadius(const GEOSGeometry* g, double tolerance); | ||
|
||
/* Constructs the Largest Empty Circle for a set of obstacle geometries, up to a | ||
* specified tolerance. The obstacles are point and line geometries. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just wondering about the lack of polygon support here... Is there a particular reason why it's skipped?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just that it will take a bit more time to implement (it requires additional checks to restrict candidate points lying in the polygons). Hoping to add it soon-ish.
Do you have a use case for that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair enough!
I was mostly thinking in terms of finding the point furthest from a bunch of buildings
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that's a good use case. Well, stay tuned... maybe can get this added soon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love it -- thanks!
From locationtech/jts#530
WIP