I’m quite new to Three.js and I am trying to figure out how to get the intersecting surface of two geometries (meshes). In my case, in the field of architecture, I am interested in getting the intersections of a building element (its mesh geometry) with the space boundary of a room (basically just a big box).
I have the mesh geometries from both and with the package three-csg-ts (three-csg-ts - npm) , I can get the intersecting geometry, so the part of the building element, that is in the room.
Now I am interested in getting the intersecting surface (surface S in picture below).
Is there anyone who can help me how I can do that?