How to merge two Bnd_Box(s)?

Does any API in OCC support this operation?
Thanks in advance.

Rob Bachrach's picture

Assuming you are looking for the result to be a potentially bigger box, you could use Get to get the dimensions of one box and Update to make sure the other box encloses it.

Rob

Cauchy Ding's picture

Thanks for your suggestion.