WarpTwin
Documentation for WarpTwin models and classes.
Loading...
Searching...
No Matches
frameutils.h File Reference
#include "core/clockwerkerrors.h"
#include "core/CartesianVector.hpp"
#include "Frame.h"

Go to the source code of this file.

Namespaces

namespace  warptwin
 Class to propagate CR3BP dynamics in characteristic units.

Functions

int warptwin::getFrameRelativeDCM (Frame &f1, Frame &f2, clockwerk::DCM &dcm_f1_f2)
 A function to get the DCM represnting the relationship [f1/f2].
int warptwin::frameRotate (const clockwerk::CartesianVector< 3 > &vec__f1, Frame &f1, Frame &f2, clockwerk::CartesianVector< 3 > &vec__f2)
 A function to rotate vector vec__f1 from frame f1 into frame f2.
int warptwin::framePositionTransform (const clockwerk::CartesianVector< 3 > &vec_f1__f1, Frame &f1, Frame &f2, clockwerk::CartesianVector< 3 > &vec_f2__f2)
 A function to transform a position vector relative to the origin of f1 to a vector relative to the origin of f2.
int warptwin::frameVelocityTransform (const clockwerk::CartesianVector< 3 > &vel_f1__f1, const clockwerk::CartesianVector< 3 > &pos_f1__f1, Frame &f1, Frame &f2, clockwerk::CartesianVector< 3 > &vel_f2__f2)
 A function to transform a velocity vector represented in frame f1 to a vector represented in f2.
clockwerk::DCM warptwin::getCompositeRotation (clockwerk::DCM &dcm_f1_f2, clockwerk::DCM &dcm_f2_f3)
 A function to get the composite rotation generated by subsequent rotations.
clockwerk::Quaternion warptwin::getCompositeRotationQuat (clockwerk::Quaternion &quat_f1_f2, clockwerk::Quaternion &quat_f2_f3)
 A function to get the composite rotation generated by subsequent rotations.