lat, lon =
scxsc (lat1, lon1, r1, lat2, lon2, r2)
¶lat, lon =
scxsc (…, angleUnit)
¶lat, lon, istn =
scxsc (…)
¶Determines the intersection points between two small circles.
Input:
Outputs:
The pair of circles has two distinct intersection points.
The circles have identical axis, so are either coinciding or don’t have any intersection points.
The pair of circles have just one common intersection point (tangent).
The pair of circles are disjoint, have no intersection points.
Example:
lat1 = 37.67; lon1 = -90.2; rng1 = 1.79; lat2 = 36.11; lon2 = -90.95; rng2 = 2.42; [newlat, newlon] = scxsc (lat1, lon1, rng1, lat2, lon2, rng2) newlat = 36.964 38.260 newlon = -88.132 -92.343
Coinciding, tangent, non-intersecting and intersecting circles:
[lat, lon, w] = scxsc (0, 0, 1, 0, [0, 2, 0, 2], [1, 1, 2, 1.5]) lat = NaN NaN 0 0 NaN NaN 0.7262 -0.7262 lon = NaN NaN 1.0000 1.0000 NaN NaN 0.6875 0.6875 w = 3 2 1 0
See also: gcxgc, gcxsc, gc2sc.
Package: mapping