Set the values of an ND_BOX from an STBox.
The function only takes into account the x, y, and z dimensions of the box? and assumes that they exist. This is to be ensured by the calling function.