I need to check if a rotated rectangle A is inside a rotated rectangle B. That is, if B is completely contained in A. I have the following information stored in a rotated rectangle: the four coordinates and its angle.
Is there is an efficient method to do this? I know that the Separating Axis Theorem can check a intersection situation, but is this method still valid to check a containment situation?