function [rVect] = getAbsPositBetweenSpacecraftAndStation(time, rVectSC, bodySC, station, celBodyData)
%getAbsPositBetweenSpacecraftAndStation Summary of this function goes here
%   Detailed explanation goes here

    stnBodyInfo = getBodyInfoByNumber(station.parentID, celBodyData);
    dVect = getAbsPositBetweenSpacecraftAndBody(time, rVectSC, bodySC, stnBodyInfo, celBodyData);
    stnRVectECIRelToParent = getInertialVectFromLatLongAlt(time, station.lat, station.long, station.alt, stnBodyInfo, [NaN;NaN;NaN]);
    rVect = dVect + stnRVectECIRelToParent;
end


Arrowstar
github-repos/MATLAB/Arrowstar-ksptot/ksptot-2b414440d3b167ba2294f56dafce0f465c07f982/helper_methods/astrodynamics/getAbsPositBetweenSpacecraftAndStation.m
ksptot
github-repos/MATLAB/Arrowstar-ksptot
2b414440d3b167ba2294f56dafce0f465c07f982