A laser shaft alignment tool performs measurements by means of two sensors mounted on two connected shafts.  Some laser systems even measure flatness, straightness, and parallelism.