-
Notifications
You must be signed in to change notification settings - Fork 14
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
Intersecting two areas results in an incorrect amount of IntersectionPoints #23
Comments
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have two areas that I intersect. In the debugger I see that the CrossingHelper.findCrossing returns an incorrect amount of IntersectionPoints. I took the intersection point coordinates and painted them yellow seen in the attached image.
The coordinate array for the hexagon used in the example is:
[300.0, 272.0, 320.0, 306.0, 300.0, 340.0, 260.0, 340.0, 240.0, 306.0, 260.0, 272.0]
The coordinate array for the shape used in the example is:
[220.0, 260.0, 260.0, 250.0, 265.0, 245.0, 305.9375, 248.4375, 317.73438, 254.60938, 323.75, 263.75, 323.98438, 275.85938, 318.4375, 290.9375, 290.0, 330.0, 285.0, 400.0, 280.0, 400.0, 220.0, 350.0, 240.0, 350.0, 275.0, 380.0, 275.0, 360.0, 274.0, 350.0, 273.0, 349.0, 260.0, 320.0]
The text was updated successfully, but these errors were encountered: