https://en.m.wikipedia.org/wiki/Iterative_closest_point
This alone isn't SLAM but can be used for odometry as part of a SLAM system.