Click or drag to resize

DistanceUnit Enumeration

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
The DistanceUnit is used when requesting distance conversions.

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.86.0.0
Syntax
public enum DistanceUnit
Members
  Member nameValueDescription
FEET1 = NM * 6076.11549
YARDS2 = NM * 2025.37183
MILES4 = NM * 1.15077945
METERS8 = NM * 1852
KILOMETERS16 = NM * 1.852
NAUTICAL_MILES32 NM
RADIANS64 Returns the existing radians value
DEGREES128 Returns the degrees value
CENTIMETERS256 Returns the centimeters value
INCHES512 Returns the inches value
DECAMETERS1024 Returns the decameters value
Remarks
Distance is first calculated in nautical miles by:
NM = radians_distance * 180.0 * 60.0 / pi
Conversion to the desired distance is then carried out by the formulas given above, where NM stands for nautical miles.
See Also