MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.Vector2i Class Reference

Public Member Functions

Vector2i __add__ (self, Vector2i b)
 
bool __eq__ (self, Vector2i b)
 
Vector2i __iadd__ (self, Vector2i b)
 
Vector2i __imatmul__ (self, int b)
 
None __init__ (self)
 
None __init__ (self, int x, int y)
 
None __init__ (self, Vector3i v)
 
None __init__ (self, Vector2i v)
 
None __init__ (self, Vector2i arg0)
 
Vector2i __isub__ (self, Vector2i b)
 
typing.Iterator __iter__ (self)
 
Vector2i __itruediv__ (self, int b)
 
Vector2i __mul__ (self, int a)
 
bool __ne__ (self, Vector2i b)
 
Vector2i __neg__ (self)
 
Vector2i __pos__ (self)
 
Vector2i __rmul__ (self, int b)
 
Vector2i __sub__ (self, Vector2i b)
 
Vector2i __truediv__ (self, int a)
 
Vector2i furthestBasisVector (self)
 
float length (self)
 
int lengthSq (self)
 
Vector2i perpendicular (self)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
Vector2i diagonal (int a)
 
Vector2i minusX ()
 
Vector2i minusY ()
 
Vector2i plusX ()
 
Vector2i plusY ()
 

Static Public Attributes

typing elements = 2
 

Protected Member Functions

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

Detailed Description

Generated from:  MR::Vector2i
Aliases:  Matrix2_int_VectorType, Vector2_int, Vector2_int

Constructor & Destructor Documentation

◆ __init__() [1/6]

None meshlib.mrmeshpy.Vector2i.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/6]

None meshlib.mrmeshpy.Vector2i.__init__ ( self)

◆ __init__() [3/6]

None meshlib.mrmeshpy.Vector2i.__init__ ( self,
int x,
int y )

◆ __init__() [4/6]

None meshlib.mrmeshpy.Vector2i.__init__ ( self,
Vector3i v )

◆ __init__() [5/6]

None meshlib.mrmeshpy.Vector2i.__init__ ( self,
Vector2i v )

◆ __init__() [6/6]

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

Member Function Documentation

◆ __add__()

Vector2i meshlib.mrmeshpy.Vector2i.__add__ ( self,
Vector2i b )

◆ __eq__()

bool meshlib.mrmeshpy.Vector2i.__eq__ ( self,
Vector2i b )

◆ __iadd__()

Vector2i meshlib.mrmeshpy.Vector2i.__iadd__ ( self,
Vector2i b )

◆ __imatmul__()

Vector2i meshlib.mrmeshpy.Vector2i.__imatmul__ ( self,
int b )

◆ __isub__()

Vector2i meshlib.mrmeshpy.Vector2i.__isub__ ( self,
Vector2i b )

◆ __iter__()

typing.Iterator meshlib.mrmeshpy.Vector2i.__iter__ ( self)

◆ __itruediv__()

Vector2i meshlib.mrmeshpy.Vector2i.__itruediv__ ( self,
int b )

◆ __mul__()

Vector2i meshlib.mrmeshpy.Vector2i.__mul__ ( self,
int a )

◆ __ne__()

bool meshlib.mrmeshpy.Vector2i.__ne__ ( self,
Vector2i b )

◆ __neg__()

Vector2i meshlib.mrmeshpy.Vector2i.__neg__ ( self)

◆ __pos__()

Vector2i meshlib.mrmeshpy.Vector2i.__pos__ ( self)

◆ __rmul__()

Vector2i meshlib.mrmeshpy.Vector2i.__rmul__ ( self,
int b )

◆ __sub__()

Vector2i meshlib.mrmeshpy.Vector2i.__sub__ ( self,
Vector2i b )

◆ __truediv__()

Vector2i meshlib.mrmeshpy.Vector2i.__truediv__ ( self,
int a )

◆ _Subscript() [1/2]

int meshlib.mrmeshpy.Vector2i._Subscript ( self,
int e )
protected

◆ _Subscript() [2/2]

int meshlib.mrmeshpy.Vector2i._Subscript ( self,
int e )
protected

◆ diagonal()

Vector2i meshlib.mrmeshpy.Vector2i.diagonal ( int a)
static

◆ furthestBasisVector()

Vector2i meshlib.mrmeshpy.Vector2i.furthestBasisVector ( self)

◆ length()

float meshlib.mrmeshpy.Vector2i.length ( self)

◆ lengthSq()

int meshlib.mrmeshpy.Vector2i.lengthSq ( self)

◆ minusX()

Vector2i meshlib.mrmeshpy.Vector2i.minusX ( )
static

◆ minusY()

Vector2i meshlib.mrmeshpy.Vector2i.minusY ( )
static

◆ perpendicular()

Vector2i meshlib.mrmeshpy.Vector2i.perpendicular ( self)
returns same length vector orthogonal to this (rotated 90 degrees counter-clockwise)

◆ plusX()

Vector2i meshlib.mrmeshpy.Vector2i.plusX ( )
static

◆ plusY()

Vector2i meshlib.mrmeshpy.Vector2i.plusY ( )
static

Member Data Documentation

◆ elements

typing meshlib.mrmeshpy.Vector2i.elements = 2
static

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