Function lupnt::spice::GetBodyPosVel(const VecX&, BodyId, BodyId)¶
Defined in File spice.cc
Function Documentation¶
-
MatX6 lupnt::spice::GetBodyPosVel(const VecX &t_tdb, BodyId center, BodyId target)¶
Vectorized (per-epoch) overload of
GetBodyPosVel.- Parameters:
t_tdb – Epochs [s, TDB seconds since J2000]
center – Origin body of the returned states
target – Body whose state is returned
- Returns:
[N x 6]position [km] / velocity [km/s] oftargetrelative tocenterat each epoch, in J2000