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

SegmentSelector.Difference() not working in all cases #8

Open
digital-synapse opened this issue Dec 3, 2021 · 4 comments
Open

SegmentSelector.Difference() not working in all cases #8

digital-synapse opened this issue Dec 3, 2021 · 4 comments
Assignees

Comments

@digital-synapse
Copy link

SegmentSelector.Difference() not working in the case where
p1= { 3,1}, {5,4}, {1,4}
p2= { 1,2}, {5,2}, {3,5}

image

expected output was 6 vertices but got 9

@idormenco
Copy link
Owner

@digital-synapse thanks for reporting. I will take a look asap

@idormenco idormenco self-assigned this Dec 3, 2021
@digital-synapse
Copy link
Author

Sorry opened by mistake, this seems to be working as expected since a not b should cut out the center region not the corners as I initially thought

@idormenco
Copy link
Owner

@digital-synapse I will still check it. Maybe if i feel adventurous i could build a visualization tool

@joecare99
Copy link
Contributor

... I was also thinking of somthing like that. Something like a visual example.

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

No branches or pull requests

3 participants