Skip to content

Add auto-tolerance to MaximumInscribedCircle and LargestEmptyCircle#1128

Merged
dr-jts merged 1 commit intolocationtech:masterfrom
dr-jts:add-mic-lec-auto-tolerance
May 6, 2025
Merged

Add auto-tolerance to MaximumInscribedCircle and LargestEmptyCircle#1128
dr-jts merged 1 commit intolocationtech:masterfrom
dr-jts:add-mic-lec-auto-tolerance

Conversation

@dr-jts
Copy link
Contributor

@dr-jts dr-jts commented May 6, 2025

This PR enhances MaximumInscribedCircle and LargestEmptyCircle to support automatically determining a reasonable tolerance value for computing the circle centre.

In order to accommodate widely-varying shapes the tolerance is refined as the radius approximation is determined. This is more likely to be accurate than a manually-provided accuracy tolerance distance, especially if the same tolerance is used for geometries of varying extent and shape.

image image

@dr-jts dr-jts merged commit f76d224 into locationtech:master May 6, 2025
2 checks passed
@dr-jts dr-jts deleted the add-mic-lec-auto-tolerance branch May 6, 2025 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant