 A simple example of a mechanical method would use a depth gauge to measure a distance to a rotating object put on a turntable.More applicable radiometric methods emit radiance towards the object and then measure its reflected part.Examples range from moving light sources, colored visible light, time-of-flight lasers  to microwaves or 3D ultrasound.