I have a 3D rotated rectangle around its center, How can I get the 3D rectangle bounding this rotated rectangle. I found this question to do so but in 2D ; finding min. X and min. Y is not my case in 3D because Z is not always the normal to the rectangle plane.

 
    