The following tables list the members exposed by Unit.
Name | Description | |
---|---|---|
Centimeter | Gets the Centimeter Unit instance. | |
Degree | Gets Degree Unit instance. | |
Factor | Gets the conversion factor from the unit to Meter for linear units or to Radian for angular units. | |
FactoryCode | Gets the Unit Factory Code. | |
Foot | Gets the Foot Unit instance. | |
Inch | Gets the Inch Unit instance. | |
InchUnitFactor | Returns a factor that allows conversion of the value in the current unit into inches. Note: In case the current unit is angular, this factor is an approximation at the equator. Use this property with caution. | |
IsAngular | Indicates if the unit is angular or linear. | |
Kilometer | Gets the Kilometers Unit instance. | |
Meter | Gets the Meters Unit instance. | |
MeterUnitFactor | Returns a factor that allows conversion of a value in the current unit into meter. Note: In case the current unit is angular, this factor is an approximation at the equator. Use this property with caution. | |
Mile | Gets the Mile Unit instance. | |
Millimeter | Gets the Millimeter Unit instance. | |
NauticalMile | Gets the Nautical Mile Unit instance. | |
UnitName | Gets the unit name. | |
Unknown | Gets the Unknown Unit instance. | |
Yard | Gets the Yard Unit instance. |
Name | Description | |
---|---|---|
Equals | Overloaded. Overridden. Returns true if the two instance are equal in values. | |
FromSquareUnitToSquareUnit | Converts a square value in source units into a new square value in target units. | |
FromUnitToUnit | Converts the value in source units into a new value in target units. | |
GetCommonLinearUnits | Returns the list of commonly used linear units. | |
GetHashCode | Overridden. Returns the instance hash code. | |
GetUnit | Get the Unit instance for the factory code. | |
ToString | Overridden. Returns a String that represents the current Object. |