Class SensorPixelCrossing


  • public class SensorPixelCrossing
    extends Object
    Class devoted to locate where ground point crosses a sensor line.

    This class is used in the first stage of inverse location.

    Author:
    Luc Maisonobe
    • Constructor Detail

      • SensorPixelCrossing

        public SensorPixelCrossing​(LineSensor sensor,
                                   Vector3D meanNormal,
                                   Vector3D targetDirection,
                                   int maxEval,
                                   double accuracy)
        Simple constructor.
        Parameters:
        sensor - sensor to consider
        meanNormal - mean plane normal of the line sensor
        targetDirection - target direction in spacecraft frame
        maxEval - maximum number of evaluations
        accuracy - accuracy to use for finding crossing line number
    • Method Detail

      • locatePixel

        public double locatePixel​(AbsoluteDate date)
        Locate pixel along sensor line.
        Parameters:
        date - current date
        Returns:
        pixel location (Double.NaN if the first and last pixels of the line do not bracket a location)