JCSG icon indicating copy to clipboard operation
JCSG copied to clipboard

Why does "difference" keep parts in the CSG that don't "intersect"

Open ZenoGillis opened this issue 2 years ago • 1 comments

Hi,

We're working with your library and noticed something curious, why does the "substract" function keep parts that don't intersect with the given part?

Imho if they don't intersect then A.difference(B) should just return A

(we ran into a visual issue and now fixed it by first checking if the parts intersect before executing the difference)

image

ZenoGillis avatar Aug 04 '21 14:08 ZenoGillis

The more modern fork https://github.com/NeuronRobotics/JCSG has this and many other major bug fixes.

madhephaestus avatar Aug 04 '21 21:08 madhephaestus