Package org.orekit.rugged.linesensor
Class LinearLineDatation
- java.lang.Object
-
- org.orekit.rugged.linesensor.LinearLineDatation
-
- All Implemented Interfaces:
LineDatation
public class LinearLineDatation extends Object implements LineDatation
Linear model forline datation
.Instances of this class are guaranteed to be immutable.
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description LinearLineDatation(AbsoluteDate referenceDate, double referenceLine, double rate)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbsoluteDate
getDate(double lineNumber)
Get the date for a given line.double
getLine(AbsoluteDate date)
Get the line for a given date.double
getRate(double lineNumber)
Get the rate of lines scanning.
-
-
-
Constructor Detail
-
LinearLineDatation
public LinearLineDatation(AbsoluteDate referenceDate, double referenceLine, double rate)
Simple constructor.- Parameters:
referenceDate
- reference datereferenceLine
- line number at reference daterate
- rate of lines scanning (lines / seconds)
-
-
Method Detail
-
getDate
public AbsoluteDate getDate(double lineNumber)
Get the date for a given line.- Specified by:
getDate
in interfaceLineDatation
- Parameters:
lineNumber
- line number- Returns:
- date at which line is acquired
-
getLine
public double getLine(AbsoluteDate date)
Get the line for a given date.- Specified by:
getLine
in interfaceLineDatation
- Parameters:
date
- date- Returns:
- line number
-
getRate
public double getRate(double lineNumber)
Get the rate of lines scanning.- Specified by:
getRate
in interfaceLineDatation
- Parameters:
lineNumber
- line number- Returns:
- rate of lines scanning (lines / seconds)
-
-