DistanceUnit Enumeration | |
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.99.0.0
Syntax Public Enumeration DistanceUnit
Members
| Member name | Value | Description |
---|
| FEET | 1 |
= NM * 6076.11549
|
| YARDS | 2 |
= NM * 2025.37183
|
| MILES | 4 |
= NM * 1.15077945
|
| METERS | 8 |
= NM * 1852
|
| KILOMETERS | 16 |
= NM * 1.852
|
| NAUTICAL_MILES | 32 |
NM
|
| RADIANS | 64 |
Returns the existing radians value
|
| DEGREES | 128 |
Returns the degrees value
|
| CENTIMETERS | 256 |
Returns the centimeters value
|
| INCHES | 512 |
Returns the inches value
|
| DECAMETERS | 1024 |
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