Public Member Functions | |
| Vector4f | __add__ (self, Vector4f b) |
| bool | __eq__ (self, Vector4f b) |
| float | __getitem__ (self, int e) |
| float | __getitem__ (self, int e) |
| Vector4f | __iadd__ (self, Vector4f b) |
| Vector4f | __imatmul__ (self, float b) |
| None | __init__ (self, Color arg0) |
| None | __init__ (self) |
| None | __init__ (self, float x, float y, float z, float w) |
| None | __init__ (self, Vector4f arg0) |
| Vector4f | __isub__ (self, Vector4f b) |
| typing.Iterator[float] | __iter__ (self) |
| Vector4f | __itruediv__ (self, float b) |
| Vector4f | __mul__ (self, float a) |
| bool | __ne__ (self, Vector4f b) |
| Vector4f | __neg__ (self) |
| Vector4f | __pos__ (self) |
| str | __repr__ (self) |
| Vector4f | __rmul__ (self, float b) |
| None | __setitem__ (self, int arg0, float arg1) |
| Vector4f | __sub__ (self, Vector4f b) |
| Vector4f | __truediv__ (self, float a) |
| bool | isFinite (self) |
| float | length (self) |
| float | lengthSq (self) |
| Vector4f | normalized (self) |
| Vector3f | proj3d (self) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
| None | __init__ (*args, **kwargs) |
| Vector4f | diagonal (float a) |
| Vector4f | operator (*args, **kwargs) |
| Vector4f | operator (*args, **kwargs) |
Static Public Attributes | |
| typing | elements = 4 |
Static Protected Attributes | |
| typing | _offsetof_w = 12 |
| typing | _offsetof_x = 0 |
| typing | _offsetof_y = 4 |
| typing | _offsetof_z = 8 |
Generated from: MR::Vector4f Aliases: Matrix4_float_VectorType four-dimensional vector
|
static |
|
static |
| None mrmeshpy.Vector4f.__init__ | ( | self, | |
| Color | arg0 ) |
| None mrmeshpy.Vector4f.__init__ | ( | self | ) |
| None mrmeshpy.Vector4f.__init__ | ( | self, | |
| float | x, | ||
| float | y, | ||
| float | z, | ||
| float | w ) |
| None mrmeshpy.Vector4f.__init__ | ( | self, | |
| Vector4f | arg0 ) |
Implicit copy constructor.
| bool mrmeshpy.Vector4f.__eq__ | ( | self, | |
| Vector4f | b ) |
| float mrmeshpy.Vector4f.__getitem__ | ( | self, | |
| int | e ) |
| float mrmeshpy.Vector4f.__getitem__ | ( | self, | |
| int | e ) |
| Vector4f mrmeshpy.Vector4f.__imatmul__ | ( | self, | |
| float | b ) |
| typing.Iterator[float] mrmeshpy.Vector4f.__iter__ | ( | self | ) |
| Vector4f mrmeshpy.Vector4f.__itruediv__ | ( | self, | |
| float | b ) |
| Vector4f mrmeshpy.Vector4f.__mul__ | ( | self, | |
| float | a ) |
| bool mrmeshpy.Vector4f.__ne__ | ( | self, | |
| Vector4f | b ) |
| Vector4f mrmeshpy.Vector4f.__neg__ | ( | self | ) |
| Vector4f mrmeshpy.Vector4f.__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.Vector4f.__repr__ | ( | self | ) |
| Vector4f mrmeshpy.Vector4f.__rmul__ | ( | self, | |
| float | b ) |
| None mrmeshpy.Vector4f.__setitem__ | ( | self, | |
| int | arg0, | ||
| float | arg1 ) |
| Vector4f mrmeshpy.Vector4f.__truediv__ | ( | self, | |
| float | a ) |
|
static |
| bool mrmeshpy.Vector4f.isFinite | ( | self | ) |
| float mrmeshpy.Vector4f.length | ( | self | ) |
| float mrmeshpy.Vector4f.lengthSq | ( | self | ) |
| Vector4f mrmeshpy.Vector4f.normalized | ( | self | ) |
|
static |
|
static |
| Vector3f mrmeshpy.Vector4f.proj3d | ( | self | ) |
assuming this is a point represented in homogeneous 4D coordinates, returns the point as 3D-vector
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
static |