Public Member Functions | |
Vector4f | __add__ (self, Vector4f b) |
bool | __eq__ (self, Vector4f b) |
Vector4f | __iadd__ (self, Vector4f b) |
Vector4f | __imatmul__ (self, float b) |
None | __init__ (self) |
None | __init__ (self, float x, float y, float z, float w) |
None | __init__ (self, Vector4f v) |
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) |
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) |
Vector4f | diagonal (float a) |
Static Public Attributes | |
typing | elements = 4 |
Protected Member Functions | |
float | _Subscript (self, int e) |
float | _Subscript (self, int e) |
Generated from: MR::Vector4f Aliases: Matrix4_float_VectorType four-dimensional vector \\ingroup VectorGroup
|
static |
None mrmeshpy.Vector4f.__init__ | ( | self | ) |
None mrmeshpy.Vector4f.__init__ | ( | self, | |
float | x, | ||
float | y, | ||
float | z, | ||
float | w ) |
None mrmeshpy.Vector4f.__init__ | ( | self, | |
Vector4f | v ) |
None mrmeshpy.Vector4f.__init__ | ( | self, | |
Vector4f | arg0 ) |
Implicit copy constructor.
bool mrmeshpy.Vector4f.__eq__ | ( | self, | |
Vector4f | b ) |
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 ) |
Vector4f mrmeshpy.Vector4f.__truediv__ | ( | self, | |
float | a ) |
|
protected |
|
protected |
|
static |
bool mrmeshpy.Vector4f.isFinite | ( | self | ) |
float mrmeshpy.Vector4f.length | ( | self | ) |
float mrmeshpy.Vector4f.lengthSq | ( | self | ) |
Vector4f mrmeshpy.Vector4f.normalized | ( | self | ) |
Vector3f mrmeshpy.Vector4f.proj3d | ( | self | ) |
assuming this is a point represented in homogeneous 4D coordinates, returns the point as 3D-vector
|
static |