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 Area calculation #3

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

Fix Area calculation #3

wants to merge 1 commit into from

Conversation

pizzo00
Copy link

@pizzo00 pizzo00 commented Apr 5, 2022

If you rotate the polyline the calculated area results wrong.

This should solve the error.
I can provide some test files with CCW and CW polylines.

If you rotate the polyline the calculated area results wrong.

This should solve the error.
I can provide some test files with CCW and CW polylines.
@pizzo00
Copy link
Author

pizzo00 commented Apr 5, 2022

Here all the areas should be 231.
example.zip

@pizzo00
Copy link
Author

pizzo00 commented Apr 5, 2022

The changes made is equivalent of set DrawDirection to a negative number

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.

1 participant