Class Distance


  • public final class Distance
    extends Object
    Represents a distance which contains a value and its units.
    Since:
    100.3.0
    • Method Detail

      • getValue

        public double getValue()
        Gets the value of the distance.
        Returns:
        the value of the distance
        Since:
        100.3.0
      • getUnit

        public LinearUnit getUnit()
        Gets the unit of the value.
        Returns:
        the unit of the value
        Since:
        100.3.0