LengthValue Methods |
The LengthValue type exposes the following members.
Name | Description | |
---|---|---|
![]() | ChangeLength |
Changes the numeric value in a LengthValue and leaves all of the other info unchanged
UnitSystem, ParseSettings and StringFormat stay as they were
|
![]() | ChangeUnitSystem |
Change the UnitSystem of a LengthValue
The numeric value of Length is scaled by new_us / current unit system
so that the absolute length stays the same
|
![]() ![]() | Create(Double, UnitSystem, LengthValueStringFormat) | Create from Length and UnitSystem |
![]() ![]() | Create(String, StringParserSettings, Boolean) | Create from string |
![]() ![]() | Create(Double, UnitSystem, LengthValueStringFormat, UInt32) | Create from Length and UnitSystem |
![]() | Dispose | actively reclaim native allocated ON_LenghtValue* |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | passively reclaim native allocated ON_LenghtValue* (Overrides ObjectFinalize.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IsUnset |
Test IsUnset
|
![]() | Length |
Length value in this instance's current unit system
|
![]() | Length(UnitSystem) | Length value in a given unit system |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |