MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.ConstVector3f:

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

Detailed Description

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

Constructor & Destructor Documentation

◆ __init__()

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

Member Function Documentation

◆ __add__()

Vector3f mrmeshpy.ConstVector3f.__add__ ( self,
ConstVector3f b )

◆ __eq__()

bool mrmeshpy.ConstVector3f.__eq__ ( self,
ConstVector3f b )

◆ __getitem__()

float mrmeshpy.ConstVector3f.__getitem__ ( self,
int e )

◆ __iter__()

typing.Iterator[float] mrmeshpy.ConstVector3f.__iter__ ( self)

◆ __mul__()

Vector3f mrmeshpy.ConstVector3f.__mul__ ( self,
float a )

◆ __ne__()

bool mrmeshpy.ConstVector3f.__ne__ ( self,
ConstVector3f b )

◆ __neg__()

Vector3f mrmeshpy.ConstVector3f.__neg__ ( self)

◆ __pos__()

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.

◆ __repr__()

str mrmeshpy.ConstVector3f.__repr__ ( self)

◆ __rlshift__()

typing.Any mrmeshpy.ConstVector3f.__rlshift__ ( self,
typing.Any vec )

◆ __rmul__()

Vector3f mrmeshpy.ConstVector3f.__rmul__ ( self,
float b )

◆ __sub__()

Vector3f mrmeshpy.ConstVector3f.__sub__ ( self,
ConstVector3f b )

◆ __truediv__()

Vector3f mrmeshpy.ConstVector3f.__truediv__ ( self,
float a )

◆ diagonal()

Vector3f mrmeshpy.ConstVector3f.diagonal ( float a)
static

◆ furthestBasisVector()

Vector3f mrmeshpy.ConstVector3f.furthestBasisVector ( self)

◆ isFinite()

bool mrmeshpy.ConstVector3f.isFinite ( self)

◆ length()

float mrmeshpy.ConstVector3f.length ( self)

◆ lengthSq()

float mrmeshpy.ConstVector3f.lengthSq ( self)

◆ minusX()

Vector3f mrmeshpy.ConstVector3f.minusX ( )
static

◆ minusY()

Vector3f mrmeshpy.ConstVector3f.minusY ( )
static

◆ minusZ()

Vector3f mrmeshpy.ConstVector3f.minusZ ( )
static

◆ normalized()

Vector3f mrmeshpy.ConstVector3f.normalized ( self)

◆ perpendicular()

tuple[Vector3f, Vector3f] mrmeshpy.ConstVector3f.perpendicular ( self)

◆ plusX()

Vector3f mrmeshpy.ConstVector3f.plusX ( )
static

◆ plusY()

Vector3f mrmeshpy.ConstVector3f.plusY ( )
static

◆ plusZ()

Vector3f mrmeshpy.ConstVector3f.plusZ ( )
static

◆ transformed()

Vector3f mrmeshpy.ConstVector3f.transformed ( self,
ConstAffineXf3f xf )
returns this vector transformed by xf if it is

◆ x()

float mrmeshpy.ConstVector3f.x ( self)

◆ y()

float mrmeshpy.ConstVector3f.y ( self)

◆ z()

float mrmeshpy.ConstVector3f.z ( self)

Member Data Documentation

◆ _offsetof_x

typing mrmeshpy.ConstVector3f._offsetof_x = 0
staticprotected

◆ _offsetof_y

typing mrmeshpy.ConstVector3f._offsetof_y = 4
staticprotected

◆ _offsetof_z

typing mrmeshpy.ConstVector3f._offsetof_z = 8
staticprotected

◆ elements

typing mrmeshpy.ConstVector3f.elements = 3
static

The documentation for this class was generated from the following file: