Set xInt, return 0 for getY when slope is null in Line obj