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

Fixes Equality check of Vertex #7

Merged

Conversation

stefannikolei
Copy link
Contributor

@stefannikolei stefannikolei commented Jan 28, 2025

  • Now the overlap_y.geojson is fixxed. When 4 Elements were remaining the calculation of the intersection yielded a Point with y=-2.999999999 in the JS calculation it was -3. This is just a following problem seq1 has an inaccuracy. It should be 5.5
    image

  • It can be debugged by setting an breakpoint on L205 of PolygonCLipper with event queue.count == 4

  • We can use this or could look deeper into the intersection calculation if something can be fixxed there

* Now the overlap_y.geojson is fixxed. When 4 Elements were remaining the calculation of the intersection yielded an Point with y=-2.999999999 in the JS calculation it was -3. We can use this or could look deeper into the intersection calculation if something can be fixxed there
* Reverted the equal check in vertex
@JimBobSquarePants
Copy link
Member

Ah yes, I missed that! Well done!

@JimBobSquarePants JimBobSquarePants merged commit 74bab65 into SixLabors:master Jan 29, 2025
1 check passed
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