euler_angle_transformations

Function euler_angle_transformations 

Source
pub fn euler_angle_transformations(lotn: f64, aop: f64, i: f64) -> DMat3
Expand description

Method for getting base manipulation matrix that is used to rotate the companion star in a twobody system relative to the earth/sun plane. lotn is Longitude of the node (Omega) in degrees, aop is Argument of periastron (omega) in degrees and finally i is the Inclination in degrees. Output is a 3-dimensional matrix with x1, x2 and x3 in the first collum, y1, y2 and y3 in the second collum and z1, z2 and z3 in the third collum.