Geometric aspects of the quantization of a rigid body