Closed RobWalt closed 10 months ago
@rmanoka almost certainly of interest to you
I'll add some comments tomorrow so I would highly recommend waiting until then before trying to understand everything just from the code 😅
I've tested it and that still doesn't seem to work. Here's a simple app to test it out
@RobWalt Did you mean to close this?
Yes, both have flaws and special cases that still fail. It's no use and we probably need another approach. I'm working on something though
[ ] I added an entry to
CHANGES.md
if knowledge of this change could be valuable to users.I've been playing around with an idea I had recently to fix up the
BoolOps
with a wrapper. The issue with the current implementation ofBoolOps
is some inconsistency which is triggered if one point of the left hand side geometry lies on top of a line of the right hand side geometry. To prevent this I just wrote a wrapper which checks if that's the case and if so, moves the point a tiny bit to a place where it's "safer", i.e. into a region where no line of the left hand side geometry is near.The PR currently includes a lot of tests which I accumulated from all the issues that are open regarding this matter. They all seem to work. However, be aware:
0.001..=1000.0
and then scale back after the operation was appliedI'll clean this up a bit further in the coming days: