Automated segmentation, detection and fitting of piping elements from terrestrial LIDAR data