The Physical type exposes the following members.

Constructors

NameDescription
PhysicalOverloaded.

Methods

NameDescription
Add
Adds two compatible Physical objects.
CheckCompatibility
Checks the compatibility of two Physical objects.
ConstantOverloaded.
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.
DivideOverloaded.
Divides one value by another.
DoubleValue
Returns the value of this dimensionless object.
EqualsOverloaded.
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.)
MultiplyOverloaded.
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

NameDescription
Addition
Add two compatible Physical objects.
DivisionOverloaded.
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.
MultiplyOverloaded.
Multiply two values.
Subtraction
Subtract two compatible Physical objects.
UnaryNegation
Negate a Physical object.

See Also