You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello Angus,
Thanks for the great library.
I have a question regarding inflating a path that only has two points. if I attempt to do it using the following configuration soln = Clipper2Lib::InflatePaths(clipper_paths, 100, Clipper2Lib::JoinType::Round, Clipper2Lib::EndType::Joined);
it returns a corrupted path, however using soln = Clipper2Lib::InflatePaths(clipper_paths, 100, Clipper2Lib::JoinType::Round, Clipper2Lib::EndType::Squared);
worked very fine. in my usecase, it doesn't make a big difference, I'm just curious to know if the first configuration is wrong for some reason.
thank you again
The text was updated successfully, but these errors were encountered:
Thanks for your encouraging feedback, and for your bug report 👍.
And it is a kind of bug, even though what you're asking this function to do doesn't really make sense (to me at least 😜). EndType::Join is intended to close an open path but still offset as an open path (ie on both sides of the path. But of course it's not really possible to close a single segment and currently Clipper2 returns an empty solution. Anyhow, I now have a fix in progress that will return a much more sensible solution. Cheers.
Hello Angus,
Thanks for the great library.
I have a question regarding inflating a path that only has two points. if I attempt to do it using the following configuration
soln = Clipper2Lib::InflatePaths(clipper_paths, 100, Clipper2Lib::JoinType::Round, Clipper2Lib::EndType::Joined);
it returns a corrupted path, however using
soln = Clipper2Lib::InflatePaths(clipper_paths, 100, Clipper2Lib::JoinType::Round, Clipper2Lib::EndType::Squared);
worked very fine. in my usecase, it doesn't make a big difference, I'm just curious to know if the first configuration is wrong for some reason.
thank you again
The text was updated successfully, but these errors were encountered: