|
Programming Reference for VirtualLab Fusion
2022.1
|
This class is subject to change. Programs using this class may require changes with a new version of VirtualLab.
Class for a pair of physical values.
More...
Public Member Functions | |
| PhysicalValuePair (double value1, double value2, PhysicalProperty property1, PhysicalProperty property2) | |
| Constructor with the most important parameters More... | |
| PhysicalValuePair (double value1, double value2, string name1, string name2, PhysicalProperty property1, PhysicalProperty property2) | |
| Constructor with the all parameters More... | |
| PhysicalValuePair (PhysicalValue value1, PhysicalValue value2) | |
| Constructor with two physical value parameters More... | |
| PhysicalValuePair (PhysicalValuePair pair) | |
| Copy constructor More... | |
| override string | ToString () |
| Overridden ToString function. More... | |
Static Public Member Functions | |
| static implicit | operator VectorD? (PhysicalValuePair physicalValuePair) |
| Converts a PhysicalValuePair object into a VectorD object. More... | |
| static bool | operator!= (PhysicalValuePair value1, PhysicalValuePair value2) |
| Compares two PhysicalValuePair for inequality. More... | |
| static bool | operator== (PhysicalValuePair pair1, PhysicalValuePair pair2) |
| Compares two PhysicalValuePair for equality. More... | |
Properties | |
| string | Name1 [get, set] |
| Meaning of value1. | |
| string | Name2 [get, set] |
| Meaning of value2. | |
| PhysicalProperty | PhysicalProperty1 [get, set] |
| The physical property of value1. | |
| PhysicalProperty | PhysicalProperty2 [get, set] |
| The physical property of value2. | |
| PhysicalValue | PhysicalValue1 [get] |
| The value of the first physical value. | |
| PhysicalValue | PhysicalValue2 [get] |
| The value of the second physical value. | |
| double | Value_X [get, set] |
| First numerical value | |
| double | Value_Y [get, set] |
| Second numerical value | |
| VectorD | Values [get] |
| Gets the pair of values just as vactor of two doubles. | |
This class is subject to change. Programs using this class may require changes with a new version of VirtualLab.
Class for a pair of physical values.
| PhysicalValuePair | ( | double | value1, |
| double | value2, | ||
| string | name1, | ||
| string | name2, | ||
| PhysicalProperty | property1, | ||
| PhysicalProperty | property2 | ||
| ) |
Constructor with the all parameters
| value1 | First numerical value |
| value2 | Second numerical value |
| name1 | First value's name. |
| name2 | Second value's name. |
| property1 | The physical property of the physical value1. |
| property2 | The physical property of the physical value2. |
| PhysicalValuePair | ( | double | value1, |
| double | value2, | ||
| PhysicalProperty | property1, | ||
| PhysicalProperty | property2 | ||
| ) |
Constructor with the most important parameters
| value1 | First numerical value |
| value2 | Second numerical value |
| property1 | The physical property of the physical value1. |
| property2 | The physical property of the physical value2. |
| PhysicalValuePair | ( | PhysicalValue | value1, |
| PhysicalValue | value2 | ||
| ) |
Constructor with two physical value parameters
| value1 | First physical value |
| value2 | Second physical value |
| PhysicalValuePair | ( | PhysicalValuePair | pair | ) |
Copy constructor
| pair | Physical value pair to copy |
|
static |
Converts a PhysicalValuePair object into a VectorD object.
|
static |
Compares two PhysicalValuePair for inequality.
| value1 | First PhysicalValuePair object to compare. |
| value2 | Second PhysicalValuePair object to compare. |
|
static |
Compares two PhysicalValuePair for equality.
| pair1 | First PhysicalValuePair object to compare. |
| pair2 | Second PhysicalValuePair object to compare. |
| override string ToString | ( | ) |
Overridden ToString function.