|
Programming Reference for VirtualLab Fusion
2025.2
|
This struct defines a two-dimensional vector of boolean values. More...
Public Member Functions | |
| override bool | Equals (Object obj) |
| Value comparing implementation of Equals (required, according to .net Help) This function compares the pointers of the present object and the parameter object for equality. | |
| override int | GetHashCode () |
| Generates and returns a hash code of the present object. Two objects are equal if they generate the same hash code. The Hash code is generated using a XOR operation between the two data members x, y. Additional a XOR operation is used between lower and higher bits. | |
| override string | ToString () |
| Converts a VectorB object into a string of format (true/false ; true/false). | |
| VectorB (bool x, bool y) | |
| Creates a VectorB from to boolean values. | |
Static Public Member Functions | |
| static VectorB | operator! (VectorB a) |
| Calculates the inverse VectorB object. | |
| static bool | operator!= (VectorB vector1, VectorB vector2) |
| Compares two VectorB for inequality. The comparison will be done by comparing the values of the two x- and y- components respectively. | |
| static VectorB | operator& (VectorB a, VectorB b) |
| Calculates the AND of two VectorB objects. | |
| static bool | operator== (VectorB vector1, VectorB vector2) |
| Compares two VectorB for equality. The comparison will be done by comparing the values of the two x- and y- components respectively. | |
| static VectorB | operator| (VectorB a, VectorB b) |
| Calculates the OR of two VectorB objects. | |
Public Attributes | |
| bool | X |
| X value of the VectorB object. | |
| bool | Y |
| Y value of the VectorB object. | |
This struct defines a two-dimensional vector of boolean values.
| VectorB | ( | bool | x, |
| bool | y | ||
| ) |
Creates a VectorB from to boolean values.
| x | X value of new VectorB object. |
| y | Y value of new VectorB object. |
| override bool Equals | ( | Object | obj | ) |
Value comparing implementation of Equals (required, according to .net Help) This function compares the pointers of the present object and the parameter object for equality.
| obj | VectorB to be compared. |
| override int GetHashCode | ( | ) |
Generates and returns a hash code of the present object. Two objects are equal if they generate the same hash code. The Hash code is generated using a XOR operation between the two data members x, y. Additional a XOR operation is used between lower and higher bits.
Calculates the inverse VectorB object.
| a | VectorB object to invert. |
Compares two VectorB for inequality. The comparison will be done by comparing the values of the two x- and y- components respectively.
| vector1 | First VectorB object to compare. |
| vector2 | Second VectorB object to compare. |
Calculates the AND of two VectorB objects.
| a | First VectorB object. |
| b | Second VectorB object. |
Compares two VectorB for equality. The comparison will be done by comparing the values of the two x- and y- components respectively.
| vector1 | First VectorB object to compare. |
| vector2 | Second VectorB object to compare. |
Calculates the OR of two VectorB objects.
| a | First VectorB object. |
| b | sSecond VectorB object. |
| override string ToString | ( | ) |
Converts a VectorB object into a string of format (true/false ; true/false).
inheritdoc/>