Skip to content

Fix to 2D polygon area algorithm #2810

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

Closed
wants to merge 0 commits into from

Conversation

TiagoFar78
Copy link

This PR introduces a new algorithm to calculate the area of 2D polygons using discrete points. The previous implementation was designed for concrete points and did not handle certain cases correctly.

Since the new algorithm is relatively complex, I have also prepared an explanation for reference.

Closes #888

@TiagoFar78 TiagoFar78 requested a review from a team as a code owner July 29, 2025 13:52
@TiagoFar78 TiagoFar78 closed this Jul 30, 2025
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.

getArea() and Polygonal2DRegion - don't return real value.
1 participant