# gcxgc

Intersection points for pairs of great circles

## Syntax

## Description

`[`

returns in `lat`

,`lon`

] = gcxgc(`lat1`

,`lon1`

,`az1`

,`lat2`

,`lon2`

,`az2`

)`lat`

and `lon`

the locations where
pairs of great circles intersect. The great circles are defined using
*great circle notation*, which consists of a point on the
great circle and the azimuth at that point along which the great circle proceeds.
For example, the first great circle in a pair would pass through the point
(`lat1`

,`lon1`

) with an azimuth of
`az1`

(in angular units).

For any pair of great circles, there are two possible intersection conditions: the circles are identical or they intersect exactly twice on the sphere.

returns
a single output consisting of the concatenated latitude and longitude coordinates of
the great circle intersection points.`latlon`

= gcxgc(___)

## Examples

## Input Arguments

## Output Arguments

## Version History

**Introduced before R2006a**