Public Member Functions | |
| Vector2i | __add__ (self, ConstVector2b b) |
| bool | __eq__ (self, ConstVector2b b) |
| bool | __getitem__ (self, int e) |
| __init__ (self, *args, **kwargs) | |
| typing.Iterator[bool] | __iter__ (self) |
| Vector2i | __mul__ (self, bool a) |
| bool | __ne__ (self, ConstVector2b b) |
| Vector2i | __neg__ (self) |
| ConstVector2b | __pos__ (self) |
| str | __repr__ (self) |
| typing.Any | __rlshift__ (self, typing.Any vec) |
| Vector2i | __rmul__ (self, bool b) |
| Vector2i | __sub__ (self, ConstVector2b b) |
| Vector2i | __truediv__ (self, bool a) |
| float | length (self) |
| int | lengthSq (self) |
| bool | x (self) |
| bool | y (self) |
Static Public Member Functions | |
| Vector2b | diagonal (bool a) |
| Vector2b | plusX () |
| Vector2b | plusY () |
Static Public Attributes | |
| typing | elements = 2 |
Static Protected Attributes | |
| typing | _offsetof_x = 0 |
| typing | _offsetof_y = 1 |
Generated from: MR::Vector2b Aliases: Box_Vector2d_Vb, Box_Vector2f_Vb, Box_Vector2i64_Vb, Box_Vector2i_Vb, Matrix2_bool_VectorType two-dimensional vector
| mrmeshpy.ConstVector2b.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstVector2b) -> None 2. __init__(self: meshlib.mrmeshpy.ConstVector2b, : meshlib.mrmeshpy.ConstNoInit) -> None 3. __init__(self: meshlib.mrmeshpy.ConstVector2b, x: bool, y: bool) -> None 4. __init__(self: meshlib.mrmeshpy.ConstVector2b, arg0: meshlib.mrmeshpy.Vector2b) -> None Implicit copy constructor. 5. __init__(self: meshlib.mrmeshpy.ConstVector2b, : meshlib.mrmeshpy.Vector2b) -> None
| Vector2i mrmeshpy.ConstVector2b.__add__ | ( | self, | |
| ConstVector2b | b ) |
| bool mrmeshpy.ConstVector2b.__eq__ | ( | self, | |
| ConstVector2b | b ) |
| bool mrmeshpy.ConstVector2b.__getitem__ | ( | self, | |
| int | e ) |
| typing.Iterator[bool] mrmeshpy.ConstVector2b.__iter__ | ( | self | ) |
| Vector2i mrmeshpy.ConstVector2b.__mul__ | ( | self, | |
| bool | a ) |
| bool mrmeshpy.ConstVector2b.__ne__ | ( | self, | |
| ConstVector2b | b ) |
| Vector2i mrmeshpy.ConstVector2b.__neg__ | ( | self | ) |
| ConstVector2b mrmeshpy.ConstVector2b.__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.ConstVector2b.__repr__ | ( | self | ) |
| typing.Any mrmeshpy.ConstVector2b.__rlshift__ | ( | self, | |
| typing.Any | vec ) |
| Vector2i mrmeshpy.ConstVector2b.__rmul__ | ( | self, | |
| bool | b ) |
| Vector2i mrmeshpy.ConstVector2b.__sub__ | ( | self, | |
| ConstVector2b | b ) |
| Vector2i mrmeshpy.ConstVector2b.__truediv__ | ( | self, | |
| bool | a ) |
|
static |
| float mrmeshpy.ConstVector2b.length | ( | self | ) |
| int mrmeshpy.ConstVector2b.lengthSq | ( | self | ) |
|
static |
|
static |
| bool mrmeshpy.ConstVector2b.x | ( | self | ) |
| bool mrmeshpy.ConstVector2b.y | ( | self | ) |
|
staticprotected |
|
staticprotected |
|
static |