Determines the three-dimensional structure of a molecule by measuring how X-rays are scattered by the material.