Class ResultConverter
java.lang.Object
clickTrainDetector.clickTrainAlgorithms.mht.mhtvar.ResultConverter
- Direct Known Subclasses:
IDIChi2.Millis2SecondsConverter
,Rad2Deg
,Seconds2Millis
Converts results to values. e.g. if between degrees and RADIANS.
- Author:
- Jamie Macaulay
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
convert2Control
(double value) Convert the value to the value to be shown in controlsdouble
convert2Value
(double value) Convert the control value to the true value.
-
Constructor Details
-
ResultConverter
public ResultConverter()
-
-
Method Details
-
convert2Control
public double convert2Control(double value) Convert the value to the value to be shown in controls- Parameters:
value
-- Returns:
-
convert2Value
public double convert2Value(double value) Convert the control value to the true value.- Parameters:
value
- - value form control- Returns:
-