[Shared Code] Class to enable boolean shape operations in ToxicLibs (via Geomerative)
in
Library and Tool Development
•
2 years ago
Boolean shape operations don't seem to have been implemented in
ToxicLibs, so I spent some time extending
Geomerative's
RPolygon class to allow me to do it. And so I present to you:
I'm not a great programmer, and it's not finished, but I thought seeing as I spent the time on it I should share it. There may be be problems with what I've done, and it's a little rough-and-ready, so be warned.
I did it in eclipse so sorry to those using the processing IDE. It shouldn't be too hard to translate it though.
A little test program is included in the main class:
One thing I have noticed is that the mouse clicks in the example program don't register. If anyone could shed light on that mystery I'd be most grateful.
~B☼
I'm not a great programmer, and it's not finished, but I thought seeing as I spent the time on it I should share it. There may be be problems with what I've done, and it's a little rough-and-ready, so be warned.
I did it in eclipse so sorry to those using the processing IDE. It shouldn't be too hard to translate it though.
A little test program is included in the main class:
One thing I have noticed is that the mouse clicks in the example program don't register. If anyone could shed light on that mystery I'd be most grateful.
~B☼