Physical Methods |
The Physical type exposes the following members.
Name | Description | |
---|---|---|
Add |
Adds two compatible Physical objects.
| |
CheckCompatibility |
Checks the compatibility of two Physical objects.
| |
Constant(String) |
Returns the value of a constant, given its name.
| |
Constant(String, String) |
Returns the value of a constant, given its name, in the specified
units.
| |
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(Double, Physical) |
Divides a double by a Physical object.
| |
Divide(Physical, Physical) |
Divides two Physical objects.
| |
Divide(Physical, Double) |
Divides a Physical object by a double.
| |
DoubleValue |
Returns the value of this dimensionless object.
| |
Equals(Object) |
Returns true if x equals this value.
(Overrides ValueTypeEquals(Object).) | |
Equals(Physical, Physical) |
Returns true if x and y are equal.
| |
GetHashCode |
Serves as a hash function for a particular type, suitable for use in
hashing algorithms and data structures like a hash table.
(Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Multiply(Double, Physical) |
Multiply a double and a Physical object.
| |
Multiply(Physical, Physical) |
Multiply two Physical objects.
| |
Multiply(Physical, Double) |
Multiply a Physical object and a double.
| |
Negate |
Negate a Physical object.
| |
Subtract |
Subtract two compatible Physical objects.
| |
ToString |
Returns a String containing the value and units, if any.
(Overrides ValueTypeToString.) | |
UnitsString |
Returns a String containing the units only.
|