Public Member Functions | |
Vector2i | __add__ (self, Vector2b b) |
bool | __eq__ (self, Vector2b b) |
Vector2b | __iadd__ (self, Vector2b b) |
Vector2b | __imatmul__ (self, bool b) |
None | __init__ (self) |
None | __init__ (self, bool x, bool y) |
None | __init__ (self, Vector3b v) |
None | __init__ (self, Vector2b v) |
None | __init__ (self, Vector2b arg0) |
Vector2b | __isub__ (self, Vector2b b) |
typing.Iterator[bool] | __iter__ (self) |
Vector2b | __itruediv__ (self, bool b) |
Vector2i | __mul__ (self, bool a) |
bool | __ne__ (self, Vector2b b) |
Vector2i | __neg__ (self) |
Vector2b | __pos__ (self) |
str | __repr__ (self) |
Vector2i | __rmul__ (self, bool b) |
Vector2i | __sub__ (self, Vector2b b) |
Vector2i | __truediv__ (self, bool a) |
float | length (self) |
bool | lengthSq (self) |
Static Public Member Functions | |
None | __init__ (*args, **kwargs) |
Vector2b | diagonal (bool a) |
Vector2b | minusX () |
Vector2b | minusY () |
Vector2b | plusX () |
Vector2b | plusY () |
Static Public Attributes | |
typing | elements = 2 |
Protected Member Functions | |
bool | _Subscript (self, int e) |
bool | _Subscript (self, int e) |
Generated from: MR::Vector2b Aliases: Box_Vector2d_Vb, Box_Vector2i_Vb, Box_Vector2f_Vb, Box_Vector2ll_Vb, Matrix2_bool_VectorType two-dimensional vector \\ingroup VectorGroup
|
static |
None mrmeshpy.Vector2b.__init__ | ( | self | ) |
None mrmeshpy.Vector2b.__init__ | ( | self, | |
bool | x, | ||
bool | y ) |
None mrmeshpy.Vector2b.__init__ | ( | self, | |
Vector3b | v ) |
None mrmeshpy.Vector2b.__init__ | ( | self, | |
Vector2b | v ) |
None mrmeshpy.Vector2b.__init__ | ( | self, | |
Vector2b | arg0 ) |
Implicit copy constructor.
bool mrmeshpy.Vector2b.__eq__ | ( | self, | |
Vector2b | b ) |
Vector2b mrmeshpy.Vector2b.__imatmul__ | ( | self, | |
bool | b ) |
typing.Iterator[bool] mrmeshpy.Vector2b.__iter__ | ( | self | ) |
Vector2b mrmeshpy.Vector2b.__itruediv__ | ( | self, | |
bool | b ) |
Vector2i mrmeshpy.Vector2b.__mul__ | ( | self, | |
bool | a ) |
bool mrmeshpy.Vector2b.__ne__ | ( | self, | |
Vector2b | b ) |
Vector2i mrmeshpy.Vector2b.__neg__ | ( | self | ) |
Vector2b mrmeshpy.Vector2b.__pos__ | ( | self | ) |
NOTE: We use `std::declval()` in the operators below because libclang 18 in our binding generator is bugged and chokes on decltyping `a.x` and such. TODO fix this when we update libclang.
str mrmeshpy.Vector2b.__repr__ | ( | self | ) |
Vector2i mrmeshpy.Vector2b.__rmul__ | ( | self, | |
bool | b ) |
Vector2i mrmeshpy.Vector2b.__truediv__ | ( | self, | |
bool | a ) |
|
protected |
|
protected |
|
static |
float mrmeshpy.Vector2b.length | ( | self | ) |
bool mrmeshpy.Vector2b.lengthSq | ( | self | ) |
|
static |
|
static |
|
static |
|
static |
|
static |