Devices used therewith for measuring distance or difference in distance