[SerializableAttribute]
[EnglishAttribute]
public class MileNautical : Unit
Because conversions between measurements rely on matching the measurement units rather than converting through an intermediary unit, this implementation of nautical mile fudges the relationship between survey feet and international feet by specifying a factor of 6,072 feet, 2,024 yards, and 1.15 statute miles to one nautical mile. Strictly speaking this is not accurate; however, conversions between these measurments and International System measurements will be correct independently of the implied relationship. Three-way tests—converting MileNautical to Foot to Meter—will probably be off by around 3 mm per nautical mile.
For example, converting 1 nautical mile to Mile will return 1.15, which is correct. And converting 1 nautical mile to Meter will return 1852, which is also correct. But converting 1.15 miles to meters will will return 1850.7456, which, while truly equal to one nautical mile, will not convert directly back into statute miles.
A similar situation exists for the Knot class.
Defined conversions:
Target unit | Factor |
---|---|
Foot | 6 072 |
Inch | 72 864 |
Meter | 1 852 |
Mile | 1.15 |
MileNautical | 1 |
Yard | 2 024 |
MileNautical | Creates a new instance of MileNautical. |
AppliesTo |
Gets the Type of measurement that this Unit
applies to.
(Inherited from Unit) |
BaseFormat |
Gets the default format for displaying quantities of the unit.
(Inherited from Unit) |
Conversions |
Provides the list of conversion factors for this Unit
to the ConversionCache.
(Inherited from Unit) |
Dimensions |
Gets the number of dimensions this Unit represents.
(Inherited from Unit) |
Name |
Gets the name of the Unit.
(Inherited from Unit) |
NamePlural |
Gets the name of the Unit when it represents
any quantity other than 1.
(Inherited from Unit) |
Symbol |
Gets the symbol or abbreviation of the Unit.
(Inherited from Unit) |
CreateConversionList |
When implemented in derived classes, causes the Unit to assemble
its list of conversion factors to other units.
(Overrides UnitCreateConversionList) |
Equals |
Determines whether the specified Object is equal to the
current Unit.
(Inherited from Unit) |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
GetHashCode |
Serves as a hash function for a particular type,
suitable for use in hashing algorithms and data structures
like a hash table.
(Inherited from Unit) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
ToString |
Gets the String representation of this Unit.
(Inherited from Unit) |