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

Public Member Functions

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

Static Public Member Functions

None __init__ (*args, **kwargs)
 
Vector4b diagonal (bool a)
 

Static Public Attributes

typing elements = 4
 

Protected Member Functions

bool _Subscript (self, int e)
 
bool _Subscript (self, int e)
 

Detailed Description

Generated from:  MR::Vector4b
Aliases:  Matrix4_bool_VectorType

four-dimensional vector
\\ingroup VectorGroup

Constructor & Destructor Documentation

◆ __init__() [1/5]

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

◆ __init__() [2/5]

None mrmeshpy.Vector4b.__init__ ( self)

◆ __init__() [3/5]

None mrmeshpy.Vector4b.__init__ ( self,
bool x,
bool y,
bool z,
bool w )

◆ __init__() [4/5]

None mrmeshpy.Vector4b.__init__ ( self,
Vector4b v )

◆ __init__() [5/5]

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

Member Function Documentation

◆ __add__()

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

◆ __eq__()

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

◆ __iadd__()

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

◆ __imatmul__()

Vector4b mrmeshpy.Vector4b.__imatmul__ ( self,
bool b )

◆ __isub__()

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

◆ __iter__()

typing.Iterator[bool] mrmeshpy.Vector4b.__iter__ ( self)

◆ __itruediv__()

Vector4b mrmeshpy.Vector4b.__itruediv__ ( self,
bool b )

◆ __mul__()

Vector4i mrmeshpy.Vector4b.__mul__ ( self,
bool a )

◆ __ne__()

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

◆ __neg__()

Vector4i mrmeshpy.Vector4b.__neg__ ( self)

◆ __pos__()

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

◆ __rmul__()

Vector4i mrmeshpy.Vector4b.__rmul__ ( self,
bool b )

◆ __sub__()

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

◆ __truediv__()

Vector4i mrmeshpy.Vector4b.__truediv__ ( self,
bool a )

◆ _Subscript() [1/2]

bool mrmeshpy.Vector4b._Subscript ( self,
int e )
protected

◆ _Subscript() [2/2]

bool mrmeshpy.Vector4b._Subscript ( self,
int e )
protected

◆ diagonal()

Vector4b mrmeshpy.Vector4b.diagonal ( bool a)
static

◆ length()

float mrmeshpy.Vector4b.length ( self)

◆ lengthSq()

bool mrmeshpy.Vector4b.lengthSq ( self)

Member Data Documentation

◆ elements

typing mrmeshpy.Vector4b.elements = 4
static

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