intersect

fun intersect(x1: Double, y1: Double, x2: Double, y2: Double, x3: Double, y3: Double, x4: Double, y4: Double): GKCoord?

The method returns coordinates of intersection lines. The method doesn't check that the lines have an intersection and will work incorrectly if the intersection is absent.

The method returns GKCoordinate of intersection the lines or if lines are parallel the method returns null