check the intersection

Hello there!
Is there any way to check whether 2 shapes intersect each other or not?
I need this operation to decide - to make the fusion of these shapes (if they are intersected) or not to make.
Thanks in advance

Mikhail Artemiev

Eugine's picture

Hi,

You can use BRepExtrema_DistShapeShape class to find distance between these shapes.
Then you can call fusing.

Best regards,
Eugine.