public class LinearLineDatation extends Object implements LineDatation
line datation.
Instances of this class are guaranteed to be immutable.
| Constructor and Description |
|---|
LinearLineDatation(AbsoluteDate referenceDate,
double referenceLine,
double rate)
Simple constructor.
|
| Modifier and Type | Method and 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.
|
public LinearLineDatation(AbsoluteDate referenceDate, double referenceLine, double rate)
referenceDate - reference datereferenceLine - line number at reference daterate - rate of lines scanning (lines / seconds)public AbsoluteDate getDate(double lineNumber)
getDate in interface LineDatationlineNumber - line numberpublic double getLine(AbsoluteDate date)
getLine in interface LineDatationdate - datepublic double getRate(double lineNumber)
getRate in interface LineDatationlineNumber - line numberCopyright © 2014–2016 CS Syst?mes d'Information. All rights reserved.