Public Member Functions | |
| Vector2i64 | __add__ (self, ConstVector2i64 b) |
| bool | __eq__ (self, ConstVector2i64 b) |
| int | __getitem__ (self, int e) |
| __init__ (self, *args, **kwargs) | |
| typing.Iterator[int] | __iter__ (self) |
| Vector2i64 | __mul__ (self, int a) |
| bool | __ne__ (self, ConstVector2i64 b) |
| Vector2i64 | __neg__ (self) |
| ConstVector2i64 | __pos__ (self) |
| str | __repr__ (self) |
| typing.Any | __rlshift__ (self, typing.Any vec) |
| Vector2i64 | __rmul__ (self, int b) |
| Vector2i64 | __sub__ (self, ConstVector2i64 b) |
| Vector2i64 | __truediv__ (self, int a) |
| Vector2i64 | furthestBasisVector (self) |
| float | length (self) |
| int | lengthSq (self) |
| Vector2i64 | perpendicular (self) |
| int | x (self) |
| int | y (self) |
Static Public Member Functions | |
| Vector2i64 | diagonal (int a) |
| Vector2i64 | minusX () |
| Vector2i64 | minusY () |
| Vector2i64 | plusX () |
| Vector2i64 | plusY () |
Static Public Attributes | |
| typing | elements = 2 |
Static Protected Attributes | |
| typing | _offsetof_x = 0 |
| typing | _offsetof_y = 8 |
Generated from: MR::Vector2i64 Aliases: Matrix2_long_VectorType two-dimensional vector
| mrmeshpy.ConstVector2i64.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstVector2i64) -> None 2. __init__(self: meshlib.mrmeshpy.ConstVector2i64, : meshlib.mrmeshpy.ConstNoInit) -> None 3. __init__(self: meshlib.mrmeshpy.ConstVector2i64, x: int, y: int) -> None 4. __init__(self: meshlib.mrmeshpy.ConstVector2i64, arg0: meshlib.mrmeshpy.Vector2i64) -> None Implicit copy constructor. 5. __init__(self: meshlib.mrmeshpy.ConstVector2i64, : meshlib.mrmeshpy.Vector2i64) -> None
| Vector2i64 mrmeshpy.ConstVector2i64.__add__ | ( | self, | |
| ConstVector2i64 | b ) |
| bool mrmeshpy.ConstVector2i64.__eq__ | ( | self, | |
| ConstVector2i64 | b ) |
| int mrmeshpy.ConstVector2i64.__getitem__ | ( | self, | |
| int | e ) |
| typing.Iterator[int] mrmeshpy.ConstVector2i64.__iter__ | ( | self | ) |
| Vector2i64 mrmeshpy.ConstVector2i64.__mul__ | ( | self, | |
| int | a ) |
| bool mrmeshpy.ConstVector2i64.__ne__ | ( | self, | |
| ConstVector2i64 | b ) |
| Vector2i64 mrmeshpy.ConstVector2i64.__neg__ | ( | self | ) |
| ConstVector2i64 mrmeshpy.ConstVector2i64.__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.ConstVector2i64.__repr__ | ( | self | ) |
| typing.Any mrmeshpy.ConstVector2i64.__rlshift__ | ( | self, | |
| typing.Any | vec ) |
| Vector2i64 mrmeshpy.ConstVector2i64.__rmul__ | ( | self, | |
| int | b ) |
| Vector2i64 mrmeshpy.ConstVector2i64.__sub__ | ( | self, | |
| ConstVector2i64 | b ) |
| Vector2i64 mrmeshpy.ConstVector2i64.__truediv__ | ( | self, | |
| int | a ) |
|
static |
| Vector2i64 mrmeshpy.ConstVector2i64.furthestBasisVector | ( | self | ) |
returns one of 2 basis unit vector that makes the biggest angle with the direction specified by this
| float mrmeshpy.ConstVector2i64.length | ( | self | ) |
| int mrmeshpy.ConstVector2i64.lengthSq | ( | self | ) |
|
static |
|
static |
| Vector2i64 mrmeshpy.ConstVector2i64.perpendicular | ( | self | ) |
returns same length vector orthogonal to this (rotated 90 degrees counter-clockwise)
|
static |
|
static |
| int mrmeshpy.ConstVector2i64.x | ( | self | ) |
| int mrmeshpy.ConstVector2i64.y | ( | self | ) |
|
staticprotected |
|
staticprotected |
|
static |