Terrestrial laser scanning: increasing automation for engineering and heritage applications