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

Public Member Functions

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

Static Public Member Functions

Vector4_unsigned_char diagonal (int a)

Static Public Attributes

typing elements = 4
 ConstMatrixType = ConstMatrix4_unsigned_char
 ConstSymMatrixType = ConstSymMatrix4_unsigned_char
 MatrixType = Matrix4_unsigned_char
 SymMatrixType = SymMatrix4_unsigned_char

Static Protected Attributes

typing _offsetof_w = 3
typing _offsetof_x = 0
typing _offsetof_y = 1
typing _offsetof_z = 2

Detailed Description

Generated from:  MR::Vector4<unsigned char>
Aliases:  DashPattern, DashPattern, Matrix4_unsigned_char.VectorType, Vector4_uint8_t

four-dimensional vector

Constructor & Destructor Documentation

◆ __init__()

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

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

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

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

4. __init__(self: meshlib.mrmeshpy.ConstVector4_unsigned_char, arg0: meshlib.mrmeshpy.ConstVector4_unsigned_char) -> None

Implicit copy constructor.

5. __init__(self: meshlib.mrmeshpy.ConstVector4_unsigned_char, : meshlib.mrmeshpy.ConstVector4_unsigned_char) -> None

Member Function Documentation

◆ __add__()

Vector4i mrmeshpy.ConstVector4_unsigned_char.__add__ ( self,
ConstVector4_unsigned_char b )

◆ __eq__()

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

◆ __getitem__()

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

◆ __iter__()

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

◆ __mul__()

Vector4i mrmeshpy.ConstVector4_unsigned_char.__mul__ ( self,
int a )

◆ __ne__()

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

◆ __neg__()

Vector4i mrmeshpy.ConstVector4_unsigned_char.__neg__ ( self)

◆ __pos__()

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

◆ __rlshift__()

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

◆ __rmul__()

Vector4i mrmeshpy.ConstVector4_unsigned_char.__rmul__ ( self,
int b )

◆ __sub__()

Vector4i mrmeshpy.ConstVector4_unsigned_char.__sub__ ( self,
ConstVector4_unsigned_char b )

◆ __truediv__()

Vector4i mrmeshpy.ConstVector4_unsigned_char.__truediv__ ( self,
int a )

◆ diagonal()

Vector4_unsigned_char mrmeshpy.ConstVector4_unsigned_char.diagonal ( int a)
static

◆ length()

float mrmeshpy.ConstVector4_unsigned_char.length ( self)

◆ lengthSq()

int mrmeshpy.ConstVector4_unsigned_char.lengthSq ( self)

◆ w()

int mrmeshpy.ConstVector4_unsigned_char.w ( self)

◆ x()

int mrmeshpy.ConstVector4_unsigned_char.x ( self)

◆ y()

int mrmeshpy.ConstVector4_unsigned_char.y ( self)

◆ z()

int mrmeshpy.ConstVector4_unsigned_char.z ( self)

Member Data Documentation

◆ _offsetof_w

typing mrmeshpy.ConstVector4_unsigned_char._offsetof_w = 3
staticprotected

◆ _offsetof_x

typing mrmeshpy.ConstVector4_unsigned_char._offsetof_x = 0
staticprotected

◆ _offsetof_y

typing mrmeshpy.ConstVector4_unsigned_char._offsetof_y = 1
staticprotected

◆ _offsetof_z

typing mrmeshpy.ConstVector4_unsigned_char._offsetof_z = 2
staticprotected

◆ ConstMatrixType

mrmeshpy.ConstVector4_unsigned_char.ConstMatrixType = ConstMatrix4_unsigned_char
static

◆ ConstSymMatrixType

mrmeshpy.ConstVector4_unsigned_char.ConstSymMatrixType = ConstSymMatrix4_unsigned_char
static

◆ elements

typing mrmeshpy.ConstVector4_unsigned_char.elements = 4
static

◆ MatrixType

mrmeshpy.ConstVector4_unsigned_char.MatrixType = Matrix4_unsigned_char
static

◆ SymMatrixType

mrmeshpy.ConstVector4_unsigned_char.SymMatrixType = SymMatrix4_unsigned_char
static

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