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

Public Member Functions

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

Static Public Member Functions

None __init__ (*args, **kwargs)
 
Vector2f diagonal (float a)
 
Vector2f minusX ()
 
Vector2f minusY ()
 
Vector2f plusX ()
 
Vector2f plusY ()
 

Static Public Attributes

typing elements = 2
 

Protected Member Functions

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

Detailed Description

Generated from:  MR::Vector2f
Aliases:  UVCoord, Matrix2_float_VectorType, Vector_Vector2f_VertId_reference, std_vector_Vector2f_reference, Vector2_float, UVCoord, Vector_Vector2f_VertId_const_reference, std_vector_Vector2f_const_reference, Vector2_float, Vector_Vector2f_VertId_value_type, std_vector_Vector2f_value_type, Vector2_float

Constructor & Destructor Documentation

◆ __init__() [1/6]

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

◆ __init__() [2/6]

None meshlib.mrmeshpy.Vector2f.__init__ ( self)

◆ __init__() [3/6]

None meshlib.mrmeshpy.Vector2f.__init__ ( self,
float x,
float y )

◆ __init__() [4/6]

None meshlib.mrmeshpy.Vector2f.__init__ ( self,
Vector3f v )

◆ __init__() [5/6]

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

◆ __init__() [6/6]

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

Member Function Documentation

◆ __add__()

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

◆ __eq__()

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

◆ __iadd__()

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

◆ __imatmul__()

Vector2f meshlib.mrmeshpy.Vector2f.__imatmul__ ( self,
float b )

◆ __isub__()

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

◆ __iter__()

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

◆ __itruediv__()

Vector2f meshlib.mrmeshpy.Vector2f.__itruediv__ ( self,
float b )

◆ __mul__()

Vector2f meshlib.mrmeshpy.Vector2f.__mul__ ( self,
float a )

◆ __ne__()

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

◆ __neg__()

Vector2f meshlib.mrmeshpy.Vector2f.__neg__ ( self)

◆ __pos__()

Vector2f meshlib.mrmeshpy.Vector2f.__pos__ ( self)

◆ __rmul__()

Vector2f meshlib.mrmeshpy.Vector2f.__rmul__ ( self,
float b )

◆ __sub__()

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

◆ __truediv__()

Vector2f meshlib.mrmeshpy.Vector2f.__truediv__ ( self,
float a )

◆ _Subscript() [1/2]

float meshlib.mrmeshpy.Vector2f._Subscript ( self,
int e )
protected

◆ _Subscript() [2/2]

float meshlib.mrmeshpy.Vector2f._Subscript ( self,
int e )
protected

◆ diagonal()

Vector2f meshlib.mrmeshpy.Vector2f.diagonal ( float a)
static

◆ furthestBasisVector()

Vector2f meshlib.mrmeshpy.Vector2f.furthestBasisVector ( self)

◆ isFinite()

bool meshlib.mrmeshpy.Vector2f.isFinite ( self)

◆ length()

float meshlib.mrmeshpy.Vector2f.length ( self)

◆ lengthSq()

float meshlib.mrmeshpy.Vector2f.lengthSq ( self)

◆ minusX()

Vector2f meshlib.mrmeshpy.Vector2f.minusX ( )
static

◆ minusY()

Vector2f meshlib.mrmeshpy.Vector2f.minusY ( )
static

◆ normalized()

Vector2f meshlib.mrmeshpy.Vector2f.normalized ( self)

◆ perpendicular()

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

◆ plusX()

Vector2f meshlib.mrmeshpy.Vector2f.plusX ( )
static

◆ plusY()

Vector2f meshlib.mrmeshpy.Vector2f.plusY ( )
static

Member Data Documentation

◆ elements

typing meshlib.mrmeshpy.Vector2f.elements = 2
static

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