FCubeGrid::DirToFlatDim

Convert face direction to the index of the nonzero normal dimension, or equivalently, the dimension in which that face is flat.