Detecting Rotated Objects as Gaussian Distributions and its 3-D Generalization