Public Member Functions | |
| Vector3f | __add__ (self, ConstVector3f b) |
| bool | __eq__ (self, ConstVector3f b) |
| float | __getitem__ (self, int e) |
| __init__ (self, *args, **kwargs) | |
| typing.Iterator[float] | __iter__ (self) |
| Vector3f | __mul__ (self, float a) |
| bool | __ne__ (self, ConstVector3f b) |
| Vector3f | __neg__ (self) |
| ConstVector3f | __pos__ (self) |
| str | __repr__ (self) |
| typing.Any | __rlshift__ (self, typing.Any vec) |
| Vector3f | __rmul__ (self, float b) |
| Vector3f | __sub__ (self, ConstVector3f b) |
| Vector3f | __truediv__ (self, float a) |
| Vector3f | furthestBasisVector (self) |
| bool | isFinite (self) |
| float | length (self) |
| float | lengthSq (self) |
| Vector3f | normalized (self) |
| tuple[Vector3f, Vector3f] | perpendicular (self) |
| Vector3f | transformed (self, ConstAffineXf3f xf) |
| float | x (self) |
| float | y (self) |
| float | z (self) |
Static Public Member Functions | |
| Vector3f | diagonal (float a) |
| Vector3f | minusX () |
| Vector3f | minusY () |
| Vector3f | minusZ () |
| Vector3f | plusX () |
| Vector3f | plusY () |
| Vector3f | plusZ () |
Static Public Attributes | |
| typing | elements = 3 |
Static Protected Attributes | |
| typing | _offsetof_x = 0 |
| typing | _offsetof_y = 4 |
| typing | _offsetof_z = 8 |
Generated from: MR::Vector3f Aliases: Matrix3_float_VectorType, RigidScaleXf3_float_V, RigidXf3_float_V, Vector_Vector3f_FaceId_const_pointer, Vector_Vector3f_FaceId_const_reference, Vector_Vector3f_FaceId_pointer, Vector_Vector3f_FaceId_reference, Vector_Vector3f_FaceId_value_type, Vector_Vector3f_Id_SurfaceDistanceStartTag.const_pointer, Vector_Vector3f_Id_SurfaceDistanceStartTag.const_reference, Vector_Vector3f_Id_SurfaceDistanceStartTag.pointer, Vector_Vector3f_Id_SurfaceDistanceStartTag.reference, Vector_Vector3f_Id_SurfaceDistanceStartTag.value_type, Vector_Vector3f_VertId_const_pointer, Vector_Vector3f_VertId_const_reference, Vector_Vector3f_VertId_pointer, Vector_Vector3f_VertId_reference, Vector_Vector3f_VertId_value_type
| mrmeshpy.ConstVector3f.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstVector3f) -> None 2. __init__(self: meshlib.mrmeshpy.ConstVector3f, : meshlib.mrmeshpy.ConstNoInit) -> None 3. __init__(self: meshlib.mrmeshpy.ConstVector3f, x: float, y: float, z: float) -> None 4. __init__(self: meshlib.mrmeshpy.ConstVector3f, v: meshlib.mrmeshpy.ConstVector3d) -> 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.ConstVector3f, 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.ConstVector3f, arg0: meshlib.mrmeshpy.Vector3f) -> None Implicit copy constructor. 7. __init__(self: meshlib.mrmeshpy.ConstVector3f, : meshlib.mrmeshpy.Vector3f) -> None
| Vector3f mrmeshpy.ConstVector3f.__add__ | ( | self, | |
| ConstVector3f | b ) |
| bool mrmeshpy.ConstVector3f.__eq__ | ( | self, | |
| ConstVector3f | b ) |
| float mrmeshpy.ConstVector3f.__getitem__ | ( | self, | |
| int | e ) |
| typing.Iterator[float] mrmeshpy.ConstVector3f.__iter__ | ( | self | ) |
| Vector3f mrmeshpy.ConstVector3f.__mul__ | ( | self, | |
| float | a ) |
| bool mrmeshpy.ConstVector3f.__ne__ | ( | self, | |
| ConstVector3f | b ) |
| Vector3f mrmeshpy.ConstVector3f.__neg__ | ( | self | ) |
| ConstVector3f mrmeshpy.ConstVector3f.__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.ConstVector3f.__repr__ | ( | self | ) |
| typing.Any mrmeshpy.ConstVector3f.__rlshift__ | ( | self, | |
| typing.Any | vec ) |
| Vector3f mrmeshpy.ConstVector3f.__rmul__ | ( | self, | |
| float | b ) |
| Vector3f mrmeshpy.ConstVector3f.__sub__ | ( | self, | |
| ConstVector3f | b ) |
| Vector3f mrmeshpy.ConstVector3f.__truediv__ | ( | self, | |
| float | a ) |
|
static |
| Vector3f mrmeshpy.ConstVector3f.furthestBasisVector | ( | self | ) |
| bool mrmeshpy.ConstVector3f.isFinite | ( | self | ) |
| float mrmeshpy.ConstVector3f.length | ( | self | ) |
| float mrmeshpy.ConstVector3f.lengthSq | ( | self | ) |
|
static |
|
static |
|
static |
| Vector3f mrmeshpy.ConstVector3f.normalized | ( | self | ) |
|
static |
|
static |
|
static |
| Vector3f mrmeshpy.ConstVector3f.transformed | ( | self, | |
| ConstAffineXf3f | xf ) |
returns this vector transformed by xf if it is
| float mrmeshpy.ConstVector3f.x | ( | self | ) |
| float mrmeshpy.ConstVector3f.y | ( | self | ) |
| float mrmeshpy.ConstVector3f.z | ( | self | ) |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
static |