UnitsLength Class

Provides units of Length.

In geometric measurements, length is the most extended dimension of an object. In the International System of Quantities, length is any quantity with dimension distance. In other contexts "length" is the measured dimension of an object.

Definition

Namespace: DevCase.Core.Math.Science
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public sealed class Length
Inheritance
Object    UnitsLength

Remarks

Methods

Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)

Fields

CentiMetre A centimetre (symbol: cm) is a unit of length equals to one hundredth (1/10^2) metres or 10 millimetres.
DecaMetre A decametre (symbol: dam) is a unit of length equals to ten (10) metres.
DeciMetre A decimetre (symbol: dm) is a unit of length equals to one tenth (1/10) metres or 100 millimetres.
Foot A foot (symbol: ft) is a unit of length equals to 12 inches.
HectoMetre An hectometre (symbol: hm) is a unit of length equals to one hundred (10^2) metres.
Inch An inch (symbol: in) is a unit of length equals to 2.54 centimetres or 0.0254 metres.
KiloMetre A kilometre (symbol: km) is a unit of length equals to one thousand (10^3) metres.
LightYear A light-year (symbol: ly) is a unit of length used to express astronomical distances, it is equals to 9.460.730.472.580.800 metres or 9.461 trillion kilometres.
Metre A metre (symbol: m) is the base metric system unit of Length.

It is defined as the length of the path travelled by light in a vacuum in 1/299792458 seconds.

Mile A mile (symbol: mi) is a unit of length equals to 5280 foots or 1760 yards.
MilliMetre A millimetre (symbol: mm) is a unit of length equals to one thousandth (1/10^3) metres.
NauticalMile A nautical mile (symbol: nmi) is a unit of length equals to 1852 metres or 1,852 kilometres.
Yard A yard (symbol: yd) is a unit of length equals to 36 inches or 3 foots.

Extension Methods

CanConvertTo Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
CanConvertToT Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
ConvertToT Converts an object to the specified target type.

If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions)

ConvertToT Converts an object to the specified target type.

If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions)

IsDisposable Determines whether the specified object is a disposable type (i.e., it implements IDisposable interface).
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
ThrowIfNullTException Throws the specified exception if the source object is null.
(Defined by ObjectExtensions)

See Also