java.lang.Object
clickTrainDetector.clickTrainAlgorithms.mht.mhtvar.ResultConverter
clickTrainDetector.clickTrainAlgorithms.mht.mhtvar.Rad2Deg

public class Rad2Deg extends ResultConverter
Converts Radians to degrees and vice versa. Degrees are shown in controls and radians saved in memory.
Author:
Jamie Macaulay
  • Constructor Details

    • Rad2Deg

      public Rad2Deg()
  • Method Details

    • convert2Control

      public double convert2Control(double value)
      Convert the value to the value to be shown in controls
      Overrides:
      convert2Control in class ResultConverter
      Parameters:
      value -
      Returns:
    • convert2Value

      public double convert2Value(double value)
      Convert the control value to the true value.
      Overrides:
      convert2Value in class ResultConverter
      Parameters:
      value - - value form control
      Returns: