Click or drag to resize
Physical Methods

The Physical type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAdd
Adds two compatible Physical objects.
Public methodStatic memberCheckCompatibility
Checks the compatibility of two Physical objects.
Public methodStatic memberConstant(String)
Returns the value of a constant, given its name.
Public methodStatic memberConstant(String, String)
Returns the value of a constant, given its name, in the specified units.
Public methodStatic memberConvert
Converts a value to a different set of units.
Public methodStatic memberDefineConstant
Defines a new constant.
Public methodStatic memberDefinePrefix
Defines a new prefix.
Public methodStatic memberDefineUnit
Defines a new unit.
Public methodStatic memberDivide(Double, Physical)
Divides a double by a Physical object.
Public methodStatic memberDivide(Physical, Physical)
Divides two Physical objects.
Public methodStatic memberDivide(Physical, Double)
Divides a Physical object by a double.
Public methodDoubleValue
Returns the value of this dimensionless object.
Public methodEquals(Object)
Returns true if x equals this value.
(Overrides ValueTypeEquals(Object).)
Public methodStatic memberEquals(Physical, Physical)
Returns true if x and y are equal.
Public methodGetHashCode
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberMultiply(Double, Physical)
Multiply a double and a Physical object.
Public methodStatic memberMultiply(Physical, Physical)
Multiply two Physical objects.
Public methodStatic memberMultiply(Physical, Double)
Multiply a Physical object and a double.
Public methodStatic memberNegate
Negate a Physical object.
Public methodStatic memberSubtract
Subtract two compatible Physical objects.
Public methodToString
Returns a String containing the value and units, if any.
(Overrides ValueTypeToString.)
Public methodUnitsString
Returns a String containing the units only.
Top
See Also