As these two new commands are pretty poorly explained in BIS Wiki, I'll try to bring here a bit of light about them as well as the starting point of a deeper discussion.
Note that my following conclusions may be wrong or even extremely wrongÂ
what's direction vector? spatial 3D vector defining the moving direction of an object relative to the world. The lenght of that vector is 1, and each of their components goes from -1 to 1.
So, lets say we have an AV8B flying to NE (dir = 45) and climbing in a 25 degrees substained climb.
_vectorlength = 1
z = sin (25)*_vectorlength
_horizontalvectorlength = cos(25)*_vectorlength
x = sin (45)*_horizontalvectorlength
y = cos(45)*_horizontalvectorlength
AV8 direction vector would be [x,y,z]
what's direction vector? spatial 3D vector defining the UP (upper) side of an object relative to the object's "face".
For example, the "face" of a car is its forward side, when you get into a car, you are looking straight forward. So the upper side of the car when standing still over the ground is its top. Which means the UP vector would come from the car's top towards the sky [0,0,1] (relative to its "face" vector, which depends on its real direction. Now we pick up that car and drop it from 1000m. Initially, its "face" will be looking foward, and the UP side will be its top. But as the car falls down, its face will start pointing to the ground, and its back will start pointing to the sky. When the car is facing the ground while falling, the UP side is no more its top, but its back. So the up vector will come from its back towards the sky. In this case, the up vector is just opposite to the "Face" vector (not perpendicular as in first situation), and the "face" vector will be the same as the dir vector, falling down, and looking at the ground. Note that since the car was left in the sky, its direction vector has been always [0,0,-1] while its up vector has been changing as the car gets the final nose-down attitude. Now, the Up vector would be [sin(180), cos(180),0] or [0,-1,0] relative to the face vector [0,0,-1], just pointing in the opposite direction relative to the car's "face".
Now I also believe that Up vector is (as dir vector) a vector of length = 1.
EDIT:
Another example with the falling car. If the car falls down nose up, its "face" vector and the UP vector will be the same (0 degrees diferente in elevation and 0 degrees difference in the "face"'s plane. So, in this case, the up vector would be [sin(0), cos(0), sin(0)] or [0,1,0], while the dir Vector would still be [0,0,-1] (falling down, looking up).
Feel free to correct me and/or add more info about this topicÂ