The Physical type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | Physical | Overloaded. |
Methods
Name | Description | |
---|---|---|
![]() ![]() | Add |
Adds two compatible Physical objects.
|
![]() ![]() | CheckCompatibility |
Checks the compatibility of two Physical objects.
|
![]() ![]() | Constant | Overloaded.
Returns the value of a constant.
|
![]() ![]() | Convert |
Converts a value to a different set of units.
|
![]() ![]() | DefineConstant |
Defines a new constant.
|
![]() ![]() | DefinePrefix |
Defines a new prefix.
|
![]() ![]() | DefineUnit |
Defines a new unit.
|
![]() ![]() | Divide | Overloaded.
Divides one value by another.
|
![]() | DoubleValue |
Returns the value of this dimensionless object.
|
![]() ![]() | Equals | Overloaded.
Returns true if two values are equal.
|
![]() | Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
![]() | GetHashCode |
Serves as a hash function for a particular type, suitable for use in
hashing algorithms and data structures like a hash table.
(Overrides ValueType..::.GetHashCode()()().) |
![]() | GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() | MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() ![]() | Multiply | Overloaded.
Multiply two values.
|
![]() ![]() | Negate |
Negate a Physical object.
|
![]() ![]() | Subtract |
Subtract two compatible Physical objects.
|
![]() | ToString |
Returns a String containing the value and units, if any.
(Overrides ValueType..::.ToString()()().) |
![]() | UnitsString |
Returns a String containing the units only.
|
Operators
Name | Description | |
---|---|---|
![]() ![]() | Addition |
Add two compatible Physical objects.
|
![]() ![]() | Division | Overloaded.
Divides one value by another.
|
![]() ![]() | Equality |
Returns true if x and y are equal.
|
![]() ![]() | Implicit |
Returns the value of this dimensionless object.
|
![]() ![]() | Inequality |
Returns true if x and y are not equal.
|
![]() ![]() | Multiply | Overloaded.
Multiply two values.
|
![]() ![]() | Subtraction |
Subtract two compatible Physical objects.
|
![]() ![]() | UnaryNegation |
Negate a Physical object.
|