java.lang.Object
com.esri.arcgisruntime.geometry.Distance

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

    • getValue Link icon

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

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