Struct bool3x3
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Syntax
[Serializable]
public struct bool3x3 : IEquatable<bool3x3>
Constructors
bool3x3(Boolean)
Constructs a bool3x3 matrix from a single bool value by assigning it to every component.
Declaration
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
bool3x3(Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean)
Constructs a bool3x3 matrix from 9 bool values given in row-major order.
Declaration
public bool3x3(bool m00, bool m01, bool m02, bool m10, bool m11, bool m12, bool m20, bool m21, bool m22)
Parameters
Type |
Name |
Description |
System.Boolean |
m00 |
|
System.Boolean |
m01 |
|
System.Boolean |
m02 |
|
System.Boolean |
m10 |
|
System.Boolean |
m11 |
|
System.Boolean |
m12 |
|
System.Boolean |
m20 |
|
System.Boolean |
m21 |
|
System.Boolean |
m22 |
|
bool3x3(bool3, bool3, bool3)
Constructs a bool3x3 matrix from three bool3 vectors.
Declaration
public bool3x3(bool3 c0, bool3 c1, bool3 c2)
Parameters
Fields
c0
Declaration
Field Value
c1
Declaration
Field Value
c2
Declaration
Field Value
Properties
Item[Int32]
Returns the bool3 element at a specified index.
Declaration
public bool3 this[int index] { get; set; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Property Value
Methods
Equals(Object)
Returns true if the bool3x3 is equal to a given bool3x3, false otherwise.
Declaration
public override bool Equals(object o)
Parameters
Type |
Name |
Description |
System.Object |
o |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.ValueType.Equals(System.Object)
Equals(bool3x3)
Returns true if the bool3x3 is equal to a given bool3x3, false otherwise.
Declaration
public bool Equals(bool3x3 rhs)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IEquatable<T>.Equals(T)
GetHashCode()
Returns a hash code for the bool3x3.
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
ToString()
Returns a string representation of the bool3x3.
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.ValueType.ToString()
Operators
BitwiseAnd(Boolean, bool3x3)
Returns the result of a componentwise bitwise and operation on a bool value and a bool3x3 matrix.
Declaration
public static bool3x3 operator &(bool lhs, bool3x3 rhs)
Parameters
Type |
Name |
Description |
System.Boolean |
lhs |
|
bool3x3 |
rhs |
|
Returns
BitwiseAnd(bool3x3, Boolean)
Returns the result of a componentwise bitwise and operation on a bool3x3 matrix and a bool value.
Declaration
public static bool3x3 operator &(bool3x3 lhs, bool rhs)
Parameters
Type |
Name |
Description |
bool3x3 |
lhs |
|
System.Boolean |
rhs |
|
Returns
BitwiseAnd(bool3x3, bool3x3)
Returns the result of a componentwise bitwise and operation on two bool3x3 matrices.
Declaration
public static bool3x3 operator &(bool3x3 lhs, bool3x3 rhs)
Parameters
Returns
BitwiseOr(Boolean, bool3x3)
Returns the result of a componentwise bitwise or operation on a bool value and a bool3x3 matrix.
Declaration
public static bool3x3 operator |(bool lhs, bool3x3 rhs)
Parameters
Type |
Name |
Description |
System.Boolean |
lhs |
|
bool3x3 |
rhs |
|
Returns
BitwiseOr(bool3x3, Boolean)
Returns the result of a componentwise bitwise or operation on a bool3x3 matrix and a bool value.
Declaration
public static bool3x3 operator |(bool3x3 lhs, bool rhs)
Parameters
Type |
Name |
Description |
bool3x3 |
lhs |
|
System.Boolean |
rhs |
|
Returns
BitwiseOr(bool3x3, bool3x3)
Returns the result of a componentwise bitwise or operation on two bool3x3 matrices.
Declaration
public static bool3x3 operator |(bool3x3 lhs, bool3x3 rhs)
Parameters
Returns
Equality(Boolean, bool3x3)
Returns the result of a componentwise equality operation on a bool value and a bool3x3 matrix.
Declaration
public static bool3x3 operator ==(bool lhs, bool3x3 rhs)
Parameters
Type |
Name |
Description |
System.Boolean |
lhs |
|
bool3x3 |
rhs |
|
Returns
Equality(bool3x3, Boolean)
Returns the result of a componentwise equality operation on a bool3x3 matrix and a bool value.
Declaration
public static bool3x3 operator ==(bool3x3 lhs, bool rhs)
Parameters
Type |
Name |
Description |
bool3x3 |
lhs |
|
System.Boolean |
rhs |
|
Returns
Equality(bool3x3, bool3x3)
Returns the result of a componentwise equality operation on two bool3x3 matrices.
Declaration
public static bool3x3 operator ==(bool3x3 lhs, bool3x3 rhs)
Parameters
Returns
ExclusiveOr(Boolean, bool3x3)
Returns the result of a componentwise bitwise exclusive or operation on a bool value and a bool3x3 matrix.
Declaration
public static bool3x3 operator ^(bool lhs, bool3x3 rhs)
Parameters
Type |
Name |
Description |
System.Boolean |
lhs |
|
bool3x3 |
rhs |
|
Returns
ExclusiveOr(bool3x3, Boolean)
Returns the result of a componentwise bitwise exclusive or operation on a bool3x3 matrix and a bool value.
Declaration
public static bool3x3 operator ^(bool3x3 lhs, bool rhs)
Parameters
Type |
Name |
Description |
bool3x3 |
lhs |
|
System.Boolean |
rhs |
|
Returns
ExclusiveOr(bool3x3, bool3x3)
Returns the result of a componentwise bitwise exclusive or operation on two bool3x3 matrices.
Declaration
public static bool3x3 operator ^(bool3x3 lhs, bool3x3 rhs)
Parameters
Returns
Implicit(Boolean to bool3x3)
Implicitly converts a single bool value to a bool3x3 matrix by assigning it to every component.
Declaration
public static implicit operator bool3x3(bool v)
Parameters
Type |
Name |
Description |
System.Boolean |
v |
|
Returns
Inequality(Boolean, bool3x3)
Returns the result of a componentwise not equal operation on a bool value and a bool3x3 matrix.
Declaration
public static bool3x3 operator !=(bool lhs, bool3x3 rhs)
Parameters
Type |
Name |
Description |
System.Boolean |
lhs |
|
bool3x3 |
rhs |
|
Returns
Inequality(bool3x3, Boolean)
Returns the result of a componentwise not equal operation on a bool3x3 matrix and a bool value.
Declaration
public static bool3x3 operator !=(bool3x3 lhs, bool rhs)
Parameters
Type |
Name |
Description |
bool3x3 |
lhs |
|
System.Boolean |
rhs |
|
Returns
Inequality(bool3x3, bool3x3)
Returns the result of a componentwise not equal operation on two bool3x3 matrices.
Declaration
public static bool3x3 operator !=(bool3x3 lhs, bool3x3 rhs)
Parameters
Returns
LogicalNot(bool3x3)
Returns the result of a componentwise not operation on a bool3x3 matrix.
Declaration
public static bool3x3 operator !(bool3x3 val)
Parameters
Returns