Projecting line of sight to ground to get geodetic point of intersection

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

  1. 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.
  2. Get the transform from satellite body to inertial (state.toTransform().getInverse())
  3. Transform the line from satellite body frame to inertial frame (using transformLine)
  4. Get the Geodetic point of intersection using getIntersectionPoint defined for OneAxisEllipsoid.
3 Likes