Iterative closest point (ICP) is a popular algorithm employed to minimize the difference between two clouds of points, two sets of curves or two sets of surfaces.
Extra reading:
Iterative closest point – Wikipedia
Papers:
Notes on Iterative Closest Point Algorithm
Iterative Closest PointAlgorithm
Video: