<< CL_gm_intersectCoplanOrb Geometry and events CL_gm_orbSphTriangle >>

celestlab >> Geometry and events > CL_gm_intersectPlanes

CL_gm_intersectPlanes

Intersection of 2 orbit planes

Calling Sequence

[pso1, pso2, inters] = CL_gm_intersectPlanes(inc1, raan1, inc2, raan2)

Description

Parameters

inc1:

Inclination of orbit 1 [rad] (1xN or 1x1)

raan1:

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

inc2:

Inclination of orbit 2 [rad] (1xN or 1x1)

raan2:

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

pso1:

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

pso2:

True 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

Examples

inc1 = 1; // rad
raan1 = 2;
inc2 = 0.1;
raan2 = 1.9;
[pso1, pso2] = CL_gm_intersectPlanes(inc1,raan1,inc2,raan2)

// Check the solutions: perform 3 successive rotations from the X axis:
q1 = CL_rot_angles2quat([3, 1, 3], [raan1; inc1; pso1]);
q2 = CL_rot_angles2quat([3, 1, 3], [raan2; inc2; pso2]);
u1 = CL_rot_rotVect(q1, [1; 0; 0])
u2 = CL_rot_rotVect(q2, [1; 0; 0]) // => same as u1

Report an issue
<< CL_gm_intersectCoplanOrb Geometry and events CL_gm_orbSphTriangle >>