MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.ConstVector2i64:

Public Member Functions

Vector2i64 __add__ (self, ConstVector2i64 b)
bool __eq__ (self, ConstVector2i64 b)
int __getitem__ (self, int e)
 __init__ (self, *args, **kwargs)
typing.Iterator[int] __iter__ (self)
Vector2i64 __mul__ (self, int a)
bool __ne__ (self, ConstVector2i64 b)
Vector2i64 __neg__ (self)
ConstVector2i64 __pos__ (self)
str __repr__ (self)
typing.Any __rlshift__ (self, typing.Any vec)
Vector2i64 __rmul__ (self, int b)
Vector2i64 __sub__ (self, ConstVector2i64 b)
Vector2i64 __truediv__ (self, int a)
Vector2i64 furthestBasisVector (self)
float length (self)
int lengthSq (self)
Vector2i64 perpendicular (self)
int x (self)
int y (self)

Static Public Member Functions

Vector2i64 diagonal (int a)
Vector2i64 minusX ()
Vector2i64 minusY ()
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__()

mrmeshpy.ConstVector2i64.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstVector2i64) -> None

2. __init__(self: meshlib.mrmeshpy.ConstVector2i64, : meshlib.mrmeshpy.ConstNoInit) -> None

3. __init__(self: meshlib.mrmeshpy.ConstVector2i64, x: int, y: int) -> None

4. __init__(self: meshlib.mrmeshpy.ConstVector2i64, arg0: meshlib.mrmeshpy.Vector2i64) -> None

Implicit copy constructor.

5. __init__(self: meshlib.mrmeshpy.ConstVector2i64, : meshlib.mrmeshpy.Vector2i64) -> None

Member Function Documentation

◆ __add__()

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

◆ __eq__()

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

◆ __getitem__()

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

◆ __iter__()

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

◆ __mul__()

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

◆ __ne__()

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

◆ __neg__()

Vector2i64 mrmeshpy.ConstVector2i64.__neg__ ( self)

◆ __pos__()

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

◆ __rlshift__()

typing.Any mrmeshpy.ConstVector2i64.__rlshift__ ( self,
typing.Any vec )

◆ __rmul__()

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

◆ __sub__()

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

◆ __truediv__()

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

◆ diagonal()

Vector2i64 mrmeshpy.ConstVector2i64.diagonal ( int a)
static

◆ furthestBasisVector()

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

◆ length()

float mrmeshpy.ConstVector2i64.length ( self)

◆ lengthSq()

int mrmeshpy.ConstVector2i64.lengthSq ( self)

◆ minusX()

Vector2i64 mrmeshpy.ConstVector2i64.minusX ( )
static

◆ minusY()

Vector2i64 mrmeshpy.ConstVector2i64.minusY ( )
static

◆ perpendicular()

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

◆ plusX()

Vector2i64 mrmeshpy.ConstVector2i64.plusX ( )
static

◆ plusY()

Vector2i64 mrmeshpy.ConstVector2i64.plusY ( )
static

◆ x()

int mrmeshpy.ConstVector2i64.x ( self)

◆ y()

int mrmeshpy.ConstVector2i64.y ( self)

Member Data Documentation

◆ _offsetof_x

typing mrmeshpy.ConstVector2i64._offsetof_x = 0
staticprotected

◆ _offsetof_y

typing mrmeshpy.ConstVector2i64._offsetof_y = 8
staticprotected

◆ elements

typing mrmeshpy.ConstVector2i64.elements = 2
static

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