|
Programming Reference for VirtualLab Fusion
2022.1
|
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. More... | |
| override int | GetHashCode () |
| Generates and returns a hash code of the present opject. Two objects are equal if they generate the same hash code. The Hash code is generate using a XOR operation between the two data members x, y. Additional a XOR operation is used between lower and hight bits. More... | |
| override string | ToString () |
| Converts a VectorB object into a string of format (true/false ; true/false). More... | |
| VectorB (bool x, bool y) | |
| Creates a VectorB from to boolean values. More... | |
Static Public Member Functions | |
| static VectorB | operator! (VectorB a) |
| Calculates the invers a VectorB object. More... | |
| 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. More... | |
| static VectorB | operator& (VectorB a, VectorB b) |
| Calculates the AND of two VectorB objects. More... | |
| 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. More... | |
| static VectorB | operator| (VectorB a, VectorB b) |
| Calculates the OR of two VectorB objects. More... | |
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 | ||
| ) |
| 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 opject. Two objects are equal if they generate the same hash code. The Hash code is generate using a XOR operation between the two data members x, y. Additional a XOR operation is used between lower and hight bits.
| override string ToString | ( | ) |
Converts a VectorB object into a string of format (true/false ; true/false).