UnitDescriptor Class |
[Missing <summary> documentation for "T:Demo3D.Utilities.UnitDescriptor"]
Namespace: Demo3D.Utilities
public class UnitDescriptor
The UnitDescriptor type exposes the following members.
| Name | Description | |
|---|---|---|
| UnitDescriptor(String, UnitType, String, IUnitConverter) |
Initializes a new instance of the UnitDescriptor class with an IUnitConvertor for conversion.
| |
| UnitDescriptor(String, UnitType, String, Double) |
Initializes a new instance of the UnitDescriptor class with a multiplier for conversion.
| |
| UnitDescriptor(String, UnitType, String, IUnitConverter, UnitSystem) |
Initializes a new instance of the UnitDescriptor class with an IUnitConvertor for conversion and a specific unit system.
| |
| UnitDescriptor(String, UnitType, String, Double, UnitSystem) |
Initializes a new instance of the UnitDescriptor class with a multiplier for conversion and a specific unit system.
|
| Name | Description | |
|---|---|---|
| GlobalizedName |
Gets an internationalized version of the name of this unit.
| |
| System |
Gets the unit system to which this unit belongs.
|
| Name | Description | |
|---|---|---|
| Equals | (Overrides ObjectEquals(Object).) | |
| GetHashCode | (Overrides ObjectGetHashCode.) | |
| ToInternal |
Convert value from units (eg inches) to internal value (eg metres)
| |
| ToString | (Overrides ObjectToString.) | |
| ToString(Double, Boolean) | ||
| ToStringWithSuffix | ||
| ToUnits |
Convert value from internal units (eg metres) to units for this descriptor (eg inches).
|
| Name | Description | |
|---|---|---|
| Equality | ||
| Inequality |