34#ifndef UTILS_ORBIT_UTILS_H
35#define UTILS_ORBIT_UTILS_H
Class defining a direction cosine matrix inherited from Matrix.
Definition DCM.h:69
#define CartesianVector3
Definition mathmacros.h:43
#define CartesianVector6
Definition mathmacros.h:45
Class to propagate CR3BP dynamics in characteristic units.
Definition statistics.hpp:22
int lvlhFrame(const CartesianVector3 &pos, const CartesianVector3 &vel, DCM &lvlh_frame, CartesianVector3 &lvlh_ang_vel__lvlh)
Function to generate an LVLH frame attitude DCM from position and velocity.
Definition orbitutils.cpp:131
DCM dcmPqr2Xyz(double i, double W, double w)
Function to generate a 3-1-3 DCM to rotate from PQR to XYZ coordinates.
Definition orbitutils.cpp:125
int rv2coe(const CartesianVector3 &pos, const CartesianVector3 &vel, double mu, CartesianVector6 &elements)
Function to convert cartesian xyz pos/vel to orbital elements.
Definition orbitutils.cpp:30
int true2eccentric(double true_anomaly, double eccentricity, double &eccentric_anomaly)
Function to convert true anomaly to eccentric anomaly.
Definition kepler.cpp:86
int coe2rv(CartesianVector6 &elements, double mu, CartesianVector3 &pos, CartesianVector3 &vel)
Function to convert orbital elements to cartesian xyz.
Definition orbitutils.cpp:91