geo.arcIntersection( $p1 as cts.point, $p2 as cts.point, $q1 as cts.point, $q2 as cts.point, [$options as String] ) as cts.point
Returns the point at the intersection of two arcs. If the arcs do not intersect, or lie on the same great circle, or if either arc covers more than 180 degrees, an error is raised.
|$p1||The starting point of the first arc.|
|$p2||The ending point of the first arc.|
|$q1||The starting point of the second arc.|
|$q2||The ending point of the second arc.|
Options for the operation. The default is ().
var sf = cts.point(37, -122); var ny = cts.point(40, -73) var a = cts.point(35,-100) var b = cts.point(41,-70) geo.arcIntersection(sf, ny, a, b); => 40.458347,-76.203682