The ScalarUnit class represents a unit of measurement for a ScalarValue.
Constructor |
Description |
Creates a new instance of the ScalarUnit class |
|
Creates a new instance of the ScalarUnit class |
Method |
Description |
Produces a deep-copy of a ScalarUnit |
|
Returns the number of units defined by this ScalarUnit that correspond to a whole value (1) |
|
Sets the number of units defined by this ScalarUnit that correspond to a whole (1) |
|
Compares the value of two ScalarUnits |
Operator |
Description |
Assigns a new value to this ScalarUnit |
|
Compares the value of two ScalarUnits |
|
Compares the value of two ScalarUnits |