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

Fix computation of volume of agglomerate: just use BBox #63

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fdrmrc
Copy link
Owner

@fdrmrc fdrmrc commented Jan 5, 2024

Instead of summing all the contributions from the underlying triangulation, just compute the volume of the bounding box associated to the polygon.

@fdrmrc
Copy link
Owner Author

fdrmrc commented Jan 5, 2024

This may of course be a rough approximation in case of "fingered" elements. However, agglomerates generated by Rtrees are always close to rectangles or square (even if with "sawtooths").

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low priority Not urgent
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant