Package com.esri.arcgisruntime.geometry
Class Distance
- 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinearUnitgetUnit()Gets the unit of the value.doublegetValue()Gets the value of the distance. 
 - 
 
- 
- 
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
 
 
 - 
 
 -