$LastChangedDate: 27-Juil-2011 $

# CL_gm_intersectPlanes

Arguments of latitude at the intersection of 2 orbit planes

## Calling Sequence

       [arg_lat_1,arg_lat_2,inters] = CL_gm_intersectPlanes(inc1,raan1,inc2,raan2)

## Description

- Computes the argument of latitude at the intersection of 2 orbit planes.

  The orbit planes are defined by their inclinations and right ascensions of ascending node

- Notes:

  - Only one pair of solutions is computed. The arguments of latitude for the second solution are arg_lat_1+pi and arg_lat_2+pi respectively.

  - If the orbits are circular, then arg_lat_1 and arg_lat_2 define the positions in the orbits where the orbit paths intersect.

  - If the planes are identical, the number of intersections is infinite. The output argument (inters) is then set to 0, otherwise it is equal to 1.

## Parameters

inc1:

  Inclination of orbit 1 [rad] (1xN)

raan1:

  Right ascension of ascending node of orbit 1 [rad] (1xN)

inc2:

  Inclination of orbit 2 [rad] (1xN)

raan2:

  Right ascension of ascending node of orbit 2 [rad] (1xN)

arg_lat_1:

  Argument of latitude in orbit 1 where the 2 planes intersect [rad] (1xN)

arg_lat_2:

  Argument of latitude in orbit 2 where the 2 planes intersect [rad] (1xN)

inters:

  Flag indicating if the planes intersect (inters = 1) or is there exists an infinity of intersections (inters=0) (1xN)

## Authors

- CNES - DCT/SB

## Examples

    inc1 = CL_deg2rad(98);
    raan1 = CL_deg2rad(102);
    inc2 = CL_deg2rad(100);
    raan2 = CL_deg2rad(126);
    [arg_lat_1,arg_lat_2]=CL_gm_intersectPlanes(inc1,raan1,inc2,raan2)