Thanks a lot @luc. That seems to do the job perfectly.
For anyone who is looking for the solution, the following is what I have done
- Create a
Line
using a point and a direction (Line.fromDirection()
). Point is the satellite itself (Vector3D.ZERO
), direction is the boresight vector of the instrument. - Get the transform from satellite body to inertial (
state.toTransform().getInverse()
) - Transform the line from satellite body frame to inertial frame (using
transformLine
) - Get the Geodetic point of intersection using
getIntersectionPoint
defined forOneAxisEllipsoid
.