Laser micrometer for installation in confined spaces