Three-dimensional orientation of compact high velocity clouds