Get inclination in specified frame

Method getI() can be used to retrieve the inclination of a satellite from its SpacecraftState, eg. FramesFactory.getEME2000().

In which frame is it returned? I understand it is returned the frame in which the state is defined.

Is it possible to get the inclination in another, specified, frame, eg. FramesFactory.getTOD(IERSConventions.IERS_2010, false)? maybe using some transform method?

Thank you,
Alfredo

Hi @acapobianchi,

Yes you need to perform a frame conversion of the orbit.
But there are built-in function that can help like SpacecraftState.getPVCoordinates(frame).

Example:

incInMyFrame = new CartesianOrbit(myState.getPVCoordinates(myFrame), myFrame, myState.getMu()).getI();

Hope this helps,
Maxime

2 Likes