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