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

DM-45789: Optimize region for LoadDiaCatalogs #235

Merged
merged 2 commits into from
Sep 6, 2024
Merged

Conversation

kfindeisen
Copy link
Member

This PR provides a more precise implementation of LoadDiaCatalogsConfig.angleMargin that fits more closely to the detector footprint. The implementation is not guaranteed to move all sides of the footprint outward by exactly angleMargin, but I assume such precision is not needed in a buffer.

A ConvexPolygon is now padded into a slightly larger ConvexPolygon,
instead of a bounding circle. This should reduce the load size to
~64% of the previous solution.
@kfindeisen kfindeisen merged commit 37d7fc5 into main Sep 6, 2024
2 checks passed
@kfindeisen kfindeisen deleted the tickets/DM-45789 branch September 6, 2024 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants