Added LinePointInterface, and fixed the libraries to use it.