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

Public Member Functions

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

Static Public Member Functions

Vector2b diagonal (bool a)
Vector2b plusX ()
Vector2b plusY ()

Static Public Attributes

typing elements = 2

Static Protected Attributes

typing _offsetof_x = 0
typing _offsetof_y = 1

Detailed Description

Generated from:  MR::Vector2b
Aliases:  Box_Vector2d_Vb, Box_Vector2f_Vb, Box_Vector2i64_Vb, Box_Vector2i_Vb, Matrix2_bool_VectorType

two-dimensional vector

Constructor & Destructor Documentation

◆ __init__()

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

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

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

3. __init__(self: meshlib.mrmeshpy.ConstVector2b, x: bool, y: bool) -> None

4. __init__(self: meshlib.mrmeshpy.ConstVector2b, arg0: meshlib.mrmeshpy.Vector2b) -> None

Implicit copy constructor.

5. __init__(self: meshlib.mrmeshpy.ConstVector2b, : meshlib.mrmeshpy.Vector2b) -> None

Member Function Documentation

◆ __add__()

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

◆ __eq__()

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

◆ __getitem__()

bool mrmeshpy.ConstVector2b.__getitem__ ( self,
int e )

◆ __iter__()

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

◆ __mul__()

Vector2i mrmeshpy.ConstVector2b.__mul__ ( self,
bool a )

◆ __ne__()

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

◆ __neg__()

Vector2i mrmeshpy.ConstVector2b.__neg__ ( self)

◆ __pos__()

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

◆ __rlshift__()

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

◆ __rmul__()

Vector2i mrmeshpy.ConstVector2b.__rmul__ ( self,
bool b )

◆ __sub__()

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

◆ __truediv__()

Vector2i mrmeshpy.ConstVector2b.__truediv__ ( self,
bool a )

◆ diagonal()

Vector2b mrmeshpy.ConstVector2b.diagonal ( bool a)
static

◆ length()

float mrmeshpy.ConstVector2b.length ( self)

◆ lengthSq()

int mrmeshpy.ConstVector2b.lengthSq ( self)

◆ plusX()

Vector2b mrmeshpy.ConstVector2b.plusX ( )
static

◆ plusY()

Vector2b mrmeshpy.ConstVector2b.plusY ( )
static

◆ x()

bool mrmeshpy.ConstVector2b.x ( self)

◆ y()

bool mrmeshpy.ConstVector2b.y ( self)

Member Data Documentation

◆ _offsetof_x

typing mrmeshpy.ConstVector2b._offsetof_x = 0
staticprotected

◆ _offsetof_y

typing mrmeshpy.ConstVector2b._offsetof_y = 1
staticprotected

◆ elements

typing mrmeshpy.ConstVector2b.elements = 2
static

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