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

Public Member Functions

Vector3i __add__ (self, ConstVector3i b)
bool __eq__ (self, ConstVector3i b)
int __getitem__ (self, int e)
 __init__ (self, *args, **kwargs)
typing.Iterator[int] __iter__ (self)
Vector3i __mul__ (self, int a)
bool __ne__ (self, ConstVector3i b)
Vector3i __neg__ (self)
ConstVector3i __pos__ (self)
str __repr__ (self)
typing.Any __rlshift__ (self, typing.Any vec)
Vector3i __rmul__ (self, int b)
Vector3i __sub__ (self, ConstVector3i b)
Vector3i __truediv__ (self, int a)
Vector3i furthestBasisVector (self)
float length (self)
int lengthSq (self)
int x (self)
int y (self)
int z (self)

Static Public Member Functions

Vector3i diagonal (int a)
Vector3i minusX ()
Vector3i minusY ()
Vector3i minusZ ()
Vector3i plusX ()
Vector3i plusY ()
Vector3i 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::Vector3i
Aliases:  Matrix3_int_VectorType, Vector_Vector3i_VertId.const_pointer, Vector_Vector3i_VertId.const_reference, Vector_Vector3i_VertId.pointer, Vector_Vector3i_VertId.reference, Vector_Vector3i_VertId.value_type

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstVector3i.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstVector3i) -> None

2. __init__(self: meshlib.mrmeshpy.ConstVector3i, : meshlib.mrmeshpy.ConstNoInit) -> None

3. __init__(self: meshlib.mrmeshpy.ConstVector3i, x: int, y: int, z: int) -> None

4. __init__(self: meshlib.mrmeshpy.ConstVector3i, 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.ConstVector3i, arg0: meshlib.mrmeshpy.Vector3i) -> None

Implicit copy constructor.

6. __init__(self: meshlib.mrmeshpy.ConstVector3i, : meshlib.mrmeshpy.Vector3i) -> None

Member Function Documentation

◆ __add__()

Vector3i mrmeshpy.ConstVector3i.__add__ ( self,
ConstVector3i b )

◆ __eq__()

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

◆ __getitem__()

int mrmeshpy.ConstVector3i.__getitem__ ( self,
int e )

◆ __iter__()

typing.Iterator[int] mrmeshpy.ConstVector3i.__iter__ ( self)

◆ __mul__()

Vector3i mrmeshpy.ConstVector3i.__mul__ ( self,
int a )

◆ __ne__()

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

◆ __neg__()

Vector3i mrmeshpy.ConstVector3i.__neg__ ( self)

◆ __pos__()

ConstVector3i mrmeshpy.ConstVector3i.__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.ConstVector3i.__repr__ ( self)

◆ __rlshift__()

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

◆ __rmul__()

Vector3i mrmeshpy.ConstVector3i.__rmul__ ( self,
int b )

◆ __sub__()

Vector3i mrmeshpy.ConstVector3i.__sub__ ( self,
ConstVector3i b )

◆ __truediv__()

Vector3i mrmeshpy.ConstVector3i.__truediv__ ( self,
int a )

◆ diagonal()

Vector3i mrmeshpy.ConstVector3i.diagonal ( int a)
static

◆ furthestBasisVector()

Vector3i mrmeshpy.ConstVector3i.furthestBasisVector ( self)

◆ length()

float mrmeshpy.ConstVector3i.length ( self)

◆ lengthSq()

int mrmeshpy.ConstVector3i.lengthSq ( self)

◆ minusX()

Vector3i mrmeshpy.ConstVector3i.minusX ( )
static

◆ minusY()

Vector3i mrmeshpy.ConstVector3i.minusY ( )
static

◆ minusZ()

Vector3i mrmeshpy.ConstVector3i.minusZ ( )
static

◆ plusX()

Vector3i mrmeshpy.ConstVector3i.plusX ( )
static

◆ plusY()

Vector3i mrmeshpy.ConstVector3i.plusY ( )
static

◆ plusZ()

Vector3i mrmeshpy.ConstVector3i.plusZ ( )
static

◆ x()

int mrmeshpy.ConstVector3i.x ( self)

◆ y()

int mrmeshpy.ConstVector3i.y ( self)

◆ z()

int mrmeshpy.ConstVector3i.z ( self)

Member Data Documentation

◆ _offsetof_x

typing mrmeshpy.ConstVector3i._offsetof_x = 0
staticprotected

◆ _offsetof_y

typing mrmeshpy.ConstVector3i._offsetof_y = 4
staticprotected

◆ _offsetof_z

typing mrmeshpy.ConstVector3i._offsetof_z = 8
staticprotected

◆ elements

typing mrmeshpy.ConstVector3i.elements = 3
static

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