A Method for Optimal Estimation of Shoreline in Cliff Zones Based on Point Cloud Segmentation and Centroid Calculation