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

Public Member Functions

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

Static Public Member Functions

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

Static Public Attributes

typing elements = 2
 

Static Protected Attributes

typing _offsetof_x = 0
 
typing _offsetof_y = 8
 

Detailed Description

Generated from:  MR::Vector2i64
Aliases:  Matrix2_long_VectorType

two-dimensional vector

Constructor & Destructor Documentation

◆ __init__() [1/4]

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

◆ __init__() [2/4]

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

◆ __init__() [3/4]

None mrmeshpy.Vector2i64.__init__ ( self)

◆ __init__() [4/4]

None mrmeshpy.Vector2i64.__init__ ( self,
int x,
int y )

Member Function Documentation

◆ __add__()

Vector2i64 mrmeshpy.Vector2i64.__add__ ( self,
Vector2i64 b )

◆ __eq__()

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

◆ __getitem__() [1/2]

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

◆ __getitem__() [2/2]

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

◆ __iadd__()

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

◆ __imatmul__()

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

◆ __isub__()

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

◆ __iter__()

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

◆ __itruediv__()

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

◆ __mul__()

Vector2i64 mrmeshpy.Vector2i64.__mul__ ( self,
int a )

◆ __ne__()

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

◆ __neg__()

Vector2i64 mrmeshpy.Vector2i64.__neg__ ( self)

◆ __pos__()

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

◆ __rmul__()

Vector2i64 mrmeshpy.Vector2i64.__rmul__ ( self,
int b )

◆ __setitem__()

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

◆ __sub__()

Vector2i64 mrmeshpy.Vector2i64.__sub__ ( self,
Vector2i64 b )

◆ __truediv__()

Vector2i64 mrmeshpy.Vector2i64.__truediv__ ( self,
int a )

◆ diagonal()

Vector2i64 mrmeshpy.Vector2i64.diagonal ( int a)
static

◆ furthestBasisVector()

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

◆ length()

float mrmeshpy.Vector2i64.length ( self)

◆ lengthSq()

int mrmeshpy.Vector2i64.lengthSq ( self)

◆ minusX()

Vector2i64 mrmeshpy.Vector2i64.minusX ( )
static

◆ minusY()

Vector2i64 mrmeshpy.Vector2i64.minusY ( )
static

◆ operator() [1/2]

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

◆ operator() [2/2]

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

◆ perpendicular()

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

◆ plusX()

Vector2i64 mrmeshpy.Vector2i64.plusX ( )
static

◆ plusY()

Vector2i64 mrmeshpy.Vector2i64.plusY ( )
static

Member Data Documentation

◆ _offsetof_x

typing mrmeshpy.Vector2i64._offsetof_x = 0
staticprotected

◆ _offsetof_y

typing mrmeshpy.Vector2i64._offsetof_y = 8
staticprotected

◆ elements

typing mrmeshpy.Vector2i64.elements = 2
static

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