Closed dr-jts closed 1 year ago
Enhances the LargestEmptyCircle class to allow specifying a polygonal boundary to contain the LEC centre.
LargestEmptyCircle
See discussion in https://github.com/libgeos/geos/issues/855.
The boundary polygonal geometry can have any spatial relationship to the provide obstacles (i.e. containing, intersecting, or disjoint).
A boundary which does not contain the obstacles
To enforce that the entire LEC circle lies inside the boundary, the boundary linework can be included as an obstacle as well:
Enhances the
LargestEmptyCircle
class to allow specifying a polygonal boundary to contain the LEC centre.See discussion in https://github.com/libgeos/geos/issues/855.
The boundary polygonal geometry can have any spatial relationship to the provide obstacles (i.e. containing, intersecting, or disjoint).
A boundary which does not contain the obstacles![image](https://user-images.githubusercontent.com/3529053/228941362-970d196a-d29c-470d-bf2f-f706ec3c41a7.png)
To enforce that the entire LEC circle lies inside the boundary, the boundary linework can be included as an obstacle as well:![image](https://user-images.githubusercontent.com/3529053/228943615-78437fae-5619-4b68-ad66-4cf9f74d8539.png)