Public Member Functions | |
| Vector2d | __add__ (self, Vector2d b) |
| bool | __eq__ (self, Vector2d b) |
| float | __getitem__ (self, int e) |
| float | __getitem__ (self, int e) |
| Vector2d | __iadd__ (self, Vector2d b) |
| Vector2d | __imatmul__ (self, float b) |
| None | __init__ (self) |
| None | __init__ (self, float x, float y) |
| None | __init__ (self, Vector2d arg0) |
| Vector2d | __isub__ (self, Vector2d b) |
| typing.Iterator[float] | __iter__ (self) |
| Vector2d | __itruediv__ (self, float b) |
| Vector2d | __mul__ (self, float a) |
| bool | __ne__ (self, Vector2d b) |
| Vector2d | __neg__ (self) |
| Vector2d | __pos__ (self) |
| str | __repr__ (self) |
| Vector2d | __rmul__ (self, float b) |
| None | __setitem__ (self, int arg0, float arg1) |
| Vector2d | __sub__ (self, Vector2d b) |
| Vector2d | __truediv__ (self, float a) |
| Vector2d | furthestBasisVector (self) |
| bool | isFinite (self) |
| float | length (self) |
| float | lengthSq (self) |
| Vector2d | normalized (self) |
| Vector2d | perpendicular (self) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
| None | __init__ (*args, **kwargs) |
| Vector2d | diagonal (float a) |
| Vector2d | minusX () |
| Vector2d | minusY () |
| Vector2d | operator (*args, **kwargs) |
| Vector2d | operator (*args, **kwargs) |
| Vector2d | plusX () |
| Vector2d | plusY () |
Static Public Attributes | |
| typing | elements = 2 |
Static Protected Attributes | |
| typing | _offsetof_x = 0 |
| typing | _offsetof_y = 8 |
Generated from: MR::Vector2d Aliases: Matrix2_double_VectorType
|
static |
|
static |
| None mrmeshpy.Vector2d.__init__ | ( | self | ) |
| None mrmeshpy.Vector2d.__init__ | ( | self, | |
| float | x, | ||
| float | y ) |
| None mrmeshpy.Vector2d.__init__ | ( | self, | |
| Vector2d | arg0 ) |
Implicit copy constructor.
| bool mrmeshpy.Vector2d.__eq__ | ( | self, | |
| Vector2d | b ) |
| float mrmeshpy.Vector2d.__getitem__ | ( | self, | |
| int | e ) |
| float mrmeshpy.Vector2d.__getitem__ | ( | self, | |
| int | e ) |
| Vector2d mrmeshpy.Vector2d.__imatmul__ | ( | self, | |
| float | b ) |
| typing.Iterator[float] mrmeshpy.Vector2d.__iter__ | ( | self | ) |
| Vector2d mrmeshpy.Vector2d.__itruediv__ | ( | self, | |
| float | b ) |
| Vector2d mrmeshpy.Vector2d.__mul__ | ( | self, | |
| float | a ) |
| bool mrmeshpy.Vector2d.__ne__ | ( | self, | |
| Vector2d | b ) |
| Vector2d mrmeshpy.Vector2d.__neg__ | ( | self | ) |
| Vector2d mrmeshpy.Vector2d.__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.Vector2d.__repr__ | ( | self | ) |
| Vector2d mrmeshpy.Vector2d.__rmul__ | ( | self, | |
| float | b ) |
| None mrmeshpy.Vector2d.__setitem__ | ( | self, | |
| int | arg0, | ||
| float | arg1 ) |
| Vector2d mrmeshpy.Vector2d.__truediv__ | ( | self, | |
| float | a ) |
|
static |
| Vector2d mrmeshpy.Vector2d.furthestBasisVector | ( | self | ) |
| bool mrmeshpy.Vector2d.isFinite | ( | self | ) |
| float mrmeshpy.Vector2d.length | ( | self | ) |
| float mrmeshpy.Vector2d.lengthSq | ( | self | ) |
|
static |
|
static |
| Vector2d mrmeshpy.Vector2d.normalized | ( | self | ) |
|
static |
|
static |
| Vector2d mrmeshpy.Vector2d.perpendicular | ( | self | ) |
returns same length vector orthogonal to this (rotated 90 degrees counter-clockwise)
|
static |
|
static |
|
staticprotected |
|
staticprotected |
|
static |