Extraction of Planar Patches from Point Clouds to Retrieve Dip and Dip Direction of Rock Discontinuities