MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.Vector4_unsigned_char Class Reference

Public Member Functions

Vector4i __add__ (self, Vector4_unsigned_char b)
 
bool __eq__ (self, Vector4_unsigned_char b)
 
int __getitem__ (self, int e)
 
int __getitem__ (self, int e)
 
Vector4_unsigned_char __iadd__ (self, Vector4_unsigned_char b)
 
Vector4_unsigned_char __imatmul__ (self, int b)
 
None __init__ (self)
 
None __init__ (self, int x, int y, int z, int w)
 
None __init__ (self, Vector4_unsigned_char arg0)
 
Vector4_unsigned_char __isub__ (self, Vector4_unsigned_char b)
 
typing.Iterator[int] __iter__ (self)
 
Vector4_unsigned_char __itruediv__ (self, int b)
 
Vector4i __mul__ (self, int a)
 
bool __ne__ (self, Vector4_unsigned_char b)
 
Vector4i __neg__ (self)
 
Vector4_unsigned_char __pos__ (self)
 
str __repr__ (self)
 
Vector4i __rmul__ (self, int b)
 
None __setitem__ (self, int arg0, int arg1)
 
Vector4i __sub__ (self, Vector4_unsigned_char b)
 
Vector4i __truediv__ (self, int a)
 
float length (self)
 
int lengthSq (self)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
None __init__ (*args, **kwargs)
 
Vector4_unsigned_char diagonal (int a)
 
Vector4_unsigned_char operator (*args, **kwargs)
 
Vector4_unsigned_char operator (*args, **kwargs)
 

Static Public Attributes

typing elements = 4
 
int 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__() [1/5]

None mrmeshpy.Vector4_unsigned_char.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/5]

None mrmeshpy.Vector4_unsigned_char.__init__ ( * args,
** kwargs )
static

◆ __init__() [3/5]

None mrmeshpy.Vector4_unsigned_char.__init__ ( self)

◆ __init__() [4/5]

None mrmeshpy.Vector4_unsigned_char.__init__ ( self,
int x,
int y,
int z,
int w )

◆ __init__() [5/5]

None mrmeshpy.Vector4_unsigned_char.__init__ ( self,
Vector4_unsigned_char arg0 )
Implicit copy constructor.

Member Function Documentation

◆ __add__()

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

◆ __eq__()

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

◆ __getitem__() [1/2]

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

◆ __getitem__() [2/2]

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

◆ __iadd__()

Vector4_unsigned_char mrmeshpy.Vector4_unsigned_char.__iadd__ ( self,
Vector4_unsigned_char b )

◆ __imatmul__()

Vector4_unsigned_char mrmeshpy.Vector4_unsigned_char.__imatmul__ ( self,
int b )

◆ __isub__()

Vector4_unsigned_char mrmeshpy.Vector4_unsigned_char.__isub__ ( self,
Vector4_unsigned_char b )

◆ __iter__()

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

◆ __itruediv__()

Vector4_unsigned_char mrmeshpy.Vector4_unsigned_char.__itruediv__ ( self,
int b )

◆ __mul__()

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

◆ __ne__()

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

◆ __neg__()

Vector4i mrmeshpy.Vector4_unsigned_char.__neg__ ( self)

◆ __pos__()

Vector4_unsigned_char mrmeshpy.Vector4_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.Vector4_unsigned_char.__repr__ ( self)

◆ __rmul__()

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

◆ __setitem__()

None mrmeshpy.Vector4_unsigned_char.__setitem__ ( self,
int arg0,
int arg1 )

◆ __sub__()

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

◆ __truediv__()

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

◆ diagonal()

Vector4_unsigned_char mrmeshpy.Vector4_unsigned_char.diagonal ( int a)
static

◆ length()

float mrmeshpy.Vector4_unsigned_char.length ( self)

◆ lengthSq()

int mrmeshpy.Vector4_unsigned_char.lengthSq ( self)

◆ operator() [1/2]

Vector4_unsigned_char mrmeshpy.Vector4_unsigned_char.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

Vector4_unsigned_char mrmeshpy.Vector4_unsigned_char.operator ( * args,
** kwargs )
static

Member Data Documentation

◆ _offsetof_w

typing mrmeshpy.Vector4_unsigned_char._offsetof_w = 3
staticprotected

◆ _offsetof_x

typing mrmeshpy.Vector4_unsigned_char._offsetof_x = 0
staticprotected

◆ _offsetof_y

typing mrmeshpy.Vector4_unsigned_char._offsetof_y = 1
staticprotected

◆ _offsetof_z

typing mrmeshpy.Vector4_unsigned_char._offsetof_z = 2
staticprotected

◆ elements

typing mrmeshpy.Vector4_unsigned_char.elements = 4
static

◆ MatrixType

int mrmeshpy.Vector4_unsigned_char.MatrixType = Matrix4_unsigned_char
static

◆ SymMatrixType

mrmeshpy.Vector4_unsigned_char.SymMatrixType = SymMatrix4_unsigned_char
static

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