Rectangle container

Hello, i would like to know if there is a component that for example, if you dra an arc, a component that draws a rectangle in wich that arc can be contained.

Thanks a lot!!!

The smallest possible rectangle, or a specific axis aligned rectangle?

Bounding box -> deconstruct brep, join edges
If the arc is on xy, xz, or yz plane