How can I calculate the distance between two 3D cloud points and how to view coincidence points between two surfaces.

How can I calculate the distance between two 3D cloud points and how to view coincidence points between two surfaces.