Public Member Functions | |
| Vector3d | __add__ (self, ConstVector3d b) |
| bool | __eq__ (self, ConstVector3d b) |
| float | __getitem__ (self, int e) |
| __init__ (self, *args, **kwargs) | |
| typing.Iterator[float] | __iter__ (self) |
| Vector3d | __mul__ (self, float a) |
| bool | __ne__ (self, ConstVector3d b) |
| Vector3d | __neg__ (self) |
| ConstVector3d | __pos__ (self) |
| str | __repr__ (self) |
| typing.Any | __rlshift__ (self, typing.Any vec) |
| Vector3d | __rmul__ (self, float b) |
| Vector3d | __sub__ (self, ConstVector3d b) |
| Vector3d | __truediv__ (self, float a) |
| Vector3d | furthestBasisVector (self) |
| bool | isFinite (self) |
| float | length (self) |
| float | lengthSq (self) |
| Vector3d | normalized (self) |
| tuple[Vector3d, Vector3d] | perpendicular (self) |
| Vector3d | transformed (self, ConstAffineXf3d xf) |
| float | x (self) |
| float | y (self) |
| float | z (self) |
Static Public Member Functions | |
| Vector3d | diagonal (float a) |
| Vector3d | minusX () |
| Vector3d | minusY () |
| Vector3d | minusZ () |
| Vector3d | plusX () |
| Vector3d | plusY () |
| Vector3d | plusZ () |
Static Public Attributes | |
| typing | elements = 3 |
Static Protected Attributes | |
| typing | _offsetof_x = 0 |
| typing | _offsetof_y = 8 |
| typing | _offsetof_z = 16 |
Generated from: MR::Vector3d Aliases: Matrix3_double_VectorType, RigidScaleXf3_double_V, RigidXf3_double_V
| mrmeshpy.ConstVector3d.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstVector3d) -> None 2. __init__(self: meshlib.mrmeshpy.ConstVector3d, : meshlib.mrmeshpy.ConstNoInit) -> None 3. __init__(self: meshlib.mrmeshpy.ConstVector3d, x: float, y: float, z: float) -> None 4. __init__(self: meshlib.mrmeshpy.ConstVector3d, v: meshlib.mrmeshpy.ConstVector3f) -> None Here `T == U` doesn't seem to cause any issues in the C++ code, but we're still disabling it because it somehow gets emitted when generating the bindings, and looks out of place there. 5. __init__(self: meshlib.mrmeshpy.ConstVector3d, v: meshlib.mrmeshpy.ConstVector3i) -> None Here `T == U` doesn't seem to cause any issues in the C++ code, but we're still disabling it because it somehow gets emitted when generating the bindings, and looks out of place there. 6. __init__(self: meshlib.mrmeshpy.ConstVector3d, arg0: meshlib.mrmeshpy.Vector3d) -> None Implicit copy constructor. 7. __init__(self: meshlib.mrmeshpy.ConstVector3d, : meshlib.mrmeshpy.Vector3d) -> None
| Vector3d mrmeshpy.ConstVector3d.__add__ | ( | self, | |
| ConstVector3d | b ) |
| bool mrmeshpy.ConstVector3d.__eq__ | ( | self, | |
| ConstVector3d | b ) |
| float mrmeshpy.ConstVector3d.__getitem__ | ( | self, | |
| int | e ) |
| typing.Iterator[float] mrmeshpy.ConstVector3d.__iter__ | ( | self | ) |
| Vector3d mrmeshpy.ConstVector3d.__mul__ | ( | self, | |
| float | a ) |
| bool mrmeshpy.ConstVector3d.__ne__ | ( | self, | |
| ConstVector3d | b ) |
| Vector3d mrmeshpy.ConstVector3d.__neg__ | ( | self | ) |
| ConstVector3d mrmeshpy.ConstVector3d.__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.ConstVector3d.__repr__ | ( | self | ) |
| typing.Any mrmeshpy.ConstVector3d.__rlshift__ | ( | self, | |
| typing.Any | vec ) |
| Vector3d mrmeshpy.ConstVector3d.__rmul__ | ( | self, | |
| float | b ) |
| Vector3d mrmeshpy.ConstVector3d.__sub__ | ( | self, | |
| ConstVector3d | b ) |
| Vector3d mrmeshpy.ConstVector3d.__truediv__ | ( | self, | |
| float | a ) |
|
static |
| Vector3d mrmeshpy.ConstVector3d.furthestBasisVector | ( | self | ) |
| bool mrmeshpy.ConstVector3d.isFinite | ( | self | ) |
| float mrmeshpy.ConstVector3d.length | ( | self | ) |
| float mrmeshpy.ConstVector3d.lengthSq | ( | self | ) |
|
static |
|
static |
|
static |
| Vector3d mrmeshpy.ConstVector3d.normalized | ( | self | ) |
|
static |
|
static |
|
static |
| Vector3d mrmeshpy.ConstVector3d.transformed | ( | self, | |
| ConstAffineXf3d | xf ) |
returns this vector transformed by xf if it is
| float mrmeshpy.ConstVector3d.x | ( | self | ) |
| float mrmeshpy.ConstVector3d.y | ( | self | ) |
| float mrmeshpy.ConstVector3d.z | ( | self | ) |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
static |