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 AbsoluteDategetDate(double lineNumber)Get the date for a given line.doublegetLine(AbsoluteDate date)Get the line for a given date.doublegetRate(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:
getDatein 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:
getLinein interfaceLineDatation- Parameters:
date- date- Returns:
- line number
-
getRate
public double getRate(double lineNumber)
Get the rate of lines scanning.- Specified by:
getRatein interfaceLineDatation- Parameters:
lineNumber- line number- Returns:
- rate of lines scanning (lines / seconds)
-
-