The geometry of orthogonal spaces