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

Public Member Functions

Vector2ll __iadd__ (self, Vector2ll b)
 
Vector2ll __imatmul__ (self, int b)
 
None __init__ (self)
 
None __init__ (self, int x, int y)
 
None __init__ (self, Vector3ll v)
 
None __init__ (self, Vector2ll arg0)
 
Vector2ll __isub__ (self, Vector2ll b)
 
typing.Iterator __iter__ (self)
 
Vector2ll __itruediv__ (self, int b)
 
Vector2ll __neg__ (self)
 
Vector2ll __pos__ (self)
 
Vector2ll furthestBasisVector (self)
 
float length (self)
 
int lengthSq (self)
 
Vector2ll perpendicular (self)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
Vector2ll diagonal (int a)
 
Vector2ll minusX ()
 
Vector2ll minusY ()
 
Vector2ll plusX ()
 
Vector2ll 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::Vector2ll
Aliases:  Vector2_long_long, Matrix2_long_long_VectorType, Vector2_long_long

two-dimensional vector
\\ingroup VectorGroup

Constructor & Destructor Documentation

◆ __init__() [1/5]

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

◆ __init__() [2/5]

None meshlib.mrmeshpy.Vector2ll.__init__ ( self)

◆ __init__() [3/5]

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

◆ __init__() [4/5]

None meshlib.mrmeshpy.Vector2ll.__init__ ( self,
Vector3ll v )

◆ __init__() [5/5]

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

Member Function Documentation

◆ __iadd__()

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

◆ __imatmul__()

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

◆ __isub__()

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

◆ __iter__()

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

◆ __itruediv__()

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

◆ __neg__()

Vector2ll meshlib.mrmeshpy.Vector2ll.__neg__ ( self)

◆ __pos__()

Vector2ll meshlib.mrmeshpy.Vector2ll.__pos__ ( self)

◆ _Subscript() [1/2]

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

◆ _Subscript() [2/2]

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

◆ diagonal()

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

◆ furthestBasisVector()

Vector2ll meshlib.mrmeshpy.Vector2ll.furthestBasisVector ( self)
returns one of 2 basis unit vector that makes the biggest angle with the direction specified by this

◆ length()

float meshlib.mrmeshpy.Vector2ll.length ( self)

◆ lengthSq()

int meshlib.mrmeshpy.Vector2ll.lengthSq ( self)

◆ minusX()

Vector2ll meshlib.mrmeshpy.Vector2ll.minusX ( )
static

◆ minusY()

Vector2ll meshlib.mrmeshpy.Vector2ll.minusY ( )
static

◆ perpendicular()

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

◆ plusX()

Vector2ll meshlib.mrmeshpy.Vector2ll.plusX ( )
static

◆ plusY()

Vector2ll meshlib.mrmeshpy.Vector2ll.plusY ( )
static

Member Data Documentation

◆ elements

typing meshlib.mrmeshpy.Vector2ll.elements = 2
static

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