Class StiInchesUnit

All Implemented Interfaces:
IStiSerializable, IStiSerializableRef

public class StiInchesUnit extends StiUnit
Report units - inches.
  • Constructor Details

    • StiInchesUnit

      public StiInchesUnit()
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getRollerStep

      public double getRollerStep()
      Gets ruler step.
      Specified by:
      getRollerStep in class StiUnit
    • getFactor

      public double getFactor()
      Gets the ruler scale in hundredths of inch on the one step.
      Specified by:
      getFactor in class StiUnit
    • getShortName

      public String getShortName()
      Gets the shor unit name.
      Specified by:
      getShortName in class StiUnit
    • ConvertToHInches

      public double ConvertToHInches(double value)
      Converts a value from hundredths of inch into units of this class.
      Specified by:
      ConvertToHInches in class StiUnit
      Parameters:
      value - Value for conversion.
      Returns:
      Converted value.
    • ConvertFromHInches

      public double ConvertFromHInches(double value)
      Converts a value from hundredths of inch into units of this class.
      Specified by:
      ConvertFromHInches in class StiUnit
      Parameters:
      value - Value for conversion.
      Returns:
      Converted value.