For the extraction of point cloud on the cliff, the intercepted depth H must be determined, which can be obtained by first finding the two points C and D that are the closest to the x coordinates (y coordinates, when the coastline is roughly south-north or north-south) of A and B, ...