For a linear molecule, analysis of the rotational spectrum provides values for the rotational constant and the moment of inertia of the molecule, and, knowing the atomic masses, can be used to determine the bond length directly.