|
| float | ToInches [get] |
| | The Length, converted to inches.
|
| float | ToFeet [get] |
| | The Length, converted to feet.
|
| float | ToYards [get] |
| | The Length, converted to yards.
|
| float | ToFurlongs [get] |
| | The Length, converted to furlongs.
|
| float | ToMiles [get] |
| | The Length, converted to miles.
|
| float | ToMillimeters [get] |
| | The Length, converted to millimeters.
|
| float | ToMegaBeardSeconds [get] |
| | The Length, converted to mega-beard-seconds.
|
| float | ToCentimeters [get] |
| | The Length, converted to centimeters.
|
| float | ToAttoparsecs [get] |
| | The Length, converted to attoparsecs.
|
| float | ToMeters [get] |
| | The Length, converted to meters.
|
| float | ToSmoots [get] |
| | The Length, converted to smoots.
|
| float | ToKilometers [get] |
| | The Length, converted to kilometers.
|
◆ Length()
| TiltFive.Length.Length |
( |
float | value, |
|
|
LengthUnit | unit ) |
|
inline |
◆ ConvertMetersTo()
| float TiltFive.Length.ConvertMetersTo |
( |
float | meters, |
|
|
LengthUnit | unit ) |
|
inlinestatic |
Converts the provided meter value to a value in the provided units.
- Parameters
-
| meters | The provided length in meters. |
| unit | The provided length units. |
- Returns
- The length, in the provided units.
◆ ConvertTo()
| float TiltFive.Length.ConvertTo |
( |
LengthUnit | unit | ) |
|
|
inline |
Converts the length to a value in the provided units.
- Parameters
-
| unit | The provided length units. |
- Returns
- The length, in the provided units.
◆ ConvertToMeters()
| float TiltFive.Length.ConvertToMeters |
( |
float | length, |
|
|
LengthUnit | unit ) |
|
inlinestatic |
Converts the provided length value to a value in meters.
- Parameters
-
| length | The provided length. |
| unit | The provided length units. |
- Returns
- The length, in meters.
◆ operator*()
Multiplies a Length by some scalar value.
- Parameters
-
- Returns
◆ operator+()
Adds two Length values together.
- Parameters
-
- Returns
◆ operator-()
Subtracts one Length value from another Length value.
- Parameters
-
- Returns
◆ PreciselyConvertMetersTo()
| double TiltFive.Length.PreciselyConvertMetersTo |
( |
double | meters, |
|
|
LengthUnit | unit ) |
|
inlinestatic |
Converts the provided meter value to a double value in the provided units.
- Parameters
-
| meters | The provided length in meters. |
| unit | The provided length units. |
- Returns
- The length, in the provided units.
Performs the conversion calculation using double arithmetic to reduce floating-point rounding errors. This may be less performant, so Drink Responsibly™. /remarks>
◆ PreciselyConvertTo()
| double TiltFive.Length.PreciselyConvertTo |
( |
LengthUnit | unit | ) |
|
|
inline |
Converts the length to a double value in the provided units.
- Parameters
-
| unit | The provided length units. |
- Returns
- The length, in the provided units.
Performs the conversion calculation using double arithmetic to reduce floating-point rounding errors. This may be less performant, so Drink Responsibly™. /remarks>
◆ ToAttoparsecs
| float TiltFive.Length.ToAttoparsecs |
|
get |
The Length, converted to attoparsecs.
◆ ToCentimeters
| float TiltFive.Length.ToCentimeters |
|
get |
The Length, converted to centimeters.
◆ ToFeet
| float TiltFive.Length.ToFeet |
|
get |
The Length, converted to feet.
◆ ToFurlongs
| float TiltFive.Length.ToFurlongs |
|
get |
The Length, converted to furlongs.
◆ ToInches
| float TiltFive.Length.ToInches |
|
get |
The Length, converted to inches.
◆ ToKilometers
| float TiltFive.Length.ToKilometers |
|
get |
The Length, converted to kilometers.
◆ ToMegaBeardSeconds
| float TiltFive.Length.ToMegaBeardSeconds |
|
get |
The Length, converted to mega-beard-seconds.
◆ ToMeters
| float TiltFive.Length.ToMeters |
|
get |
The Length, converted to meters.
◆ ToMiles
| float TiltFive.Length.ToMiles |
|
get |
The Length, converted to miles.
◆ ToMillimeters
| float TiltFive.Length.ToMillimeters |
|
get |
The Length, converted to millimeters.
◆ ToSmoots
| float TiltFive.Length.ToSmoots |
|
get |
The Length, converted to smoots.
◆ ToYards
| float TiltFive.Length.ToYards |
|
get |
The Length, converted to yards.
The documentation for this struct was generated from the following file: