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

A bug in getIntersection() #48

Open
lascqy opened this issue Dec 1, 2021 · 0 comments
Open

A bug in getIntersection() #48

lascqy opened this issue Dec 1, 2021 · 0 comments

Comments

@lascqy
Copy link

lascqy commented Dec 1, 2021

in the correspondance.R
when calling getIntersection(), it returns c(x1,y1)) or c(x1,y1,x2,y2)).
but it reports a warning in getIntersectwithContour() when getIntersection() returns c(x1,y1,x2,y2)).

in some situations, with too many this kind of warnings, the outline-> x*T may can not be calculated.

you get a result like this:
Screenshot from 2021-11-11 20-47-01

is there any tips to solve this bug?
a temporary way is c(mean(x1,y1),mean(x2,y2))), but I think it may not a theoretical way.

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

1 participant