Added custom minimum distance functions for lines and planes.