Public Member Functions | |
| Vector4d | __add__ (self, ConstVector4d b) |
| bool | __eq__ (self, ConstVector4d b) |
| float | __getitem__ (self, int e) |
| __init__ (self, *args, **kwargs) | |
| typing.Iterator[float] | __iter__ (self) |
| Vector4d | __mul__ (self, float a) |
| bool | __ne__ (self, ConstVector4d b) |
| Vector4d | __neg__ (self) |
| ConstVector4d | __pos__ (self) |
| str | __repr__ (self) |
| typing.Any | __rlshift__ (self, typing.Any vec) |
| Vector4d | __rmul__ (self, float b) |
| Vector4d | __sub__ (self, ConstVector4d b) |
| Vector4d | __truediv__ (self, float a) |
| bool | isFinite (self) |
| float | length (self) |
| float | lengthSq (self) |
| Vector4d | normalized (self) |
| Vector3d | proj3d (self) |
| float | w (self) |
| float | x (self) |
| float | y (self) |
| float | z (self) |
Static Public Member Functions | |
| Vector4d | diagonal (float a) |
Static Public Attributes | |
| typing | elements = 4 |
Static Protected Attributes | |
| typing | _offsetof_w = 24 |
| typing | _offsetof_x = 0 |
| typing | _offsetof_y = 8 |
| typing | _offsetof_z = 16 |
Generated from: MR::Vector4d Aliases: Matrix4_double_VectorType four-dimensional vector
| mrmeshpy.ConstVector4d.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstVector4d) -> None 2. __init__(self: meshlib.mrmeshpy.ConstVector4d, : meshlib.mrmeshpy.ConstNoInit) -> None 3. __init__(self: meshlib.mrmeshpy.ConstVector4d, x: float, y: float, z: float, w: float) -> None 4. __init__(self: meshlib.mrmeshpy.ConstVector4d, arg0: meshlib.mrmeshpy.Vector4d) -> None Implicit copy constructor. 5. __init__(self: meshlib.mrmeshpy.ConstVector4d, : meshlib.mrmeshpy.Vector4d) -> None
| Vector4d mrmeshpy.ConstVector4d.__add__ | ( | self, | |
| ConstVector4d | b ) |
| bool mrmeshpy.ConstVector4d.__eq__ | ( | self, | |
| ConstVector4d | b ) |
| float mrmeshpy.ConstVector4d.__getitem__ | ( | self, | |
| int | e ) |
| typing.Iterator[float] mrmeshpy.ConstVector4d.__iter__ | ( | self | ) |
| Vector4d mrmeshpy.ConstVector4d.__mul__ | ( | self, | |
| float | a ) |
| bool mrmeshpy.ConstVector4d.__ne__ | ( | self, | |
| ConstVector4d | b ) |
| Vector4d mrmeshpy.ConstVector4d.__neg__ | ( | self | ) |
| ConstVector4d mrmeshpy.ConstVector4d.__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.ConstVector4d.__repr__ | ( | self | ) |
| typing.Any mrmeshpy.ConstVector4d.__rlshift__ | ( | self, | |
| typing.Any | vec ) |
| Vector4d mrmeshpy.ConstVector4d.__rmul__ | ( | self, | |
| float | b ) |
| Vector4d mrmeshpy.ConstVector4d.__sub__ | ( | self, | |
| ConstVector4d | b ) |
| Vector4d mrmeshpy.ConstVector4d.__truediv__ | ( | self, | |
| float | a ) |
|
static |
| bool mrmeshpy.ConstVector4d.isFinite | ( | self | ) |
| float mrmeshpy.ConstVector4d.length | ( | self | ) |
| float mrmeshpy.ConstVector4d.lengthSq | ( | self | ) |
| Vector4d mrmeshpy.ConstVector4d.normalized | ( | self | ) |
| Vector3d mrmeshpy.ConstVector4d.proj3d | ( | self | ) |
assuming this is a point represented in homogeneous 4D coordinates, returns the point as 3D-vector
| float mrmeshpy.ConstVector4d.w | ( | self | ) |
| float mrmeshpy.ConstVector4d.x | ( | self | ) |
| float mrmeshpy.ConstVector4d.y | ( | self | ) |
| float mrmeshpy.ConstVector4d.z | ( | self | ) |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
static |