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

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

Detailed Description

Generated from:  MR::Vector3d
Aliases:  Matrix3_double_VectorType, RigidScaleXf3_double_V, RigidXf3_double_V

Constructor & Destructor Documentation

◆ __init__()

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

Member Function Documentation

◆ __add__()

Vector3d mrmeshpy.ConstVector3d.__add__ ( self,
ConstVector3d b )

◆ __eq__()

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

◆ __getitem__()

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

◆ __iter__()

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

◆ __mul__()

Vector3d mrmeshpy.ConstVector3d.__mul__ ( self,
float a )

◆ __ne__()

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

◆ __neg__()

Vector3d mrmeshpy.ConstVector3d.__neg__ ( self)

◆ __pos__()

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.

◆ __repr__()

str mrmeshpy.ConstVector3d.__repr__ ( self)

◆ __rlshift__()

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

◆ __rmul__()

Vector3d mrmeshpy.ConstVector3d.__rmul__ ( self,
float b )

◆ __sub__()

Vector3d mrmeshpy.ConstVector3d.__sub__ ( self,
ConstVector3d b )

◆ __truediv__()

Vector3d mrmeshpy.ConstVector3d.__truediv__ ( self,
float a )

◆ diagonal()

Vector3d mrmeshpy.ConstVector3d.diagonal ( float a)
static

◆ furthestBasisVector()

Vector3d mrmeshpy.ConstVector3d.furthestBasisVector ( self)

◆ isFinite()

bool mrmeshpy.ConstVector3d.isFinite ( self)

◆ length()

float mrmeshpy.ConstVector3d.length ( self)

◆ lengthSq()

float mrmeshpy.ConstVector3d.lengthSq ( self)

◆ minusX()

Vector3d mrmeshpy.ConstVector3d.minusX ( )
static

◆ minusY()

Vector3d mrmeshpy.ConstVector3d.minusY ( )
static

◆ minusZ()

Vector3d mrmeshpy.ConstVector3d.minusZ ( )
static

◆ normalized()

Vector3d mrmeshpy.ConstVector3d.normalized ( self)

◆ perpendicular()

tuple[Vector3d, Vector3d] mrmeshpy.ConstVector3d.perpendicular ( self)

◆ plusX()

Vector3d mrmeshpy.ConstVector3d.plusX ( )
static

◆ plusY()

Vector3d mrmeshpy.ConstVector3d.plusY ( )
static

◆ plusZ()

Vector3d mrmeshpy.ConstVector3d.plusZ ( )
static

◆ transformed()

Vector3d mrmeshpy.ConstVector3d.transformed ( self,
ConstAffineXf3d xf )
returns this vector transformed by xf if it is

◆ x()

float mrmeshpy.ConstVector3d.x ( self)

◆ y()

float mrmeshpy.ConstVector3d.y ( self)

◆ z()

float mrmeshpy.ConstVector3d.z ( self)

Member Data Documentation

◆ _offsetof_x

typing mrmeshpy.ConstVector3d._offsetof_x = 0
staticprotected

◆ _offsetof_y

typing mrmeshpy.ConstVector3d._offsetof_y = 8
staticprotected

◆ _offsetof_z

typing mrmeshpy.ConstVector3d._offsetof_z = 16
staticprotected

◆ elements

typing mrmeshpy.ConstVector3d.elements = 3
static

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