First of all, sorry for the question.
I really didn't want to ask this kind of "bad" question since it must be something "obvious" I'm missing. But I have been trying to fix this for more than a day.
How the Box is described:
The box is described by 3x3 quantities: Starting position, Length, Rotation Angle and that's one quantity for each of the cartesian axes (x,y,z). Here is a Picture of how the Box is described (its through an Animation Tool).
What I want to express:
Basically I want to "trap" the space between that box. For Example if the box was simply parallel to the Axis I would just say $$ x_m ≤x≤ x_M $$ same thing for $y,z$
Now this is a harder case but that's what I want to achieve. $$ f(y,z) ≤x≤g(y,z) $$ as TomKern said.
What I have tried:
I have tried to rotate the three vectors defining the Box around original axis starting from x to z. (The order matters I think). Read about Eulerian Angles but still going to center of the box and rotating it with the same order didn't have much success from what I saw.
Maybe a silly idea: Trying to find "3" parallel surface that passes from the starting point, each one respecting the "other two" angles might work. For that I just need a way to express the normal of each of the 3 surfaces.
Sorry for the question