get Tile Crossing Point
fun getTileCrossingPoint(point1: Pair<Int, Int>, point2: Pair<Int, Int>): List<Pair<Double, Double>>
getTileCrossingPoint returns the point at which the line connecting lastPoint and point crosses the tile boundary. If both points are outside the tile there can be two intersection points returned. Otherwise there can only be a single intersection point.
Return
The coordinates at which the line crosses the tile boundary as a list of pairs of Doubles to give us the best precision.
Parameters
point1
Point on line that might cross tile boundary
point2
Another point on the line that might cross the tile boundary