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

Public Member Functions

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

Static Public Member Functions

None __init__ (*args, **kwargs)
 
Vector2d diagonal (float a)
 
Vector2d minusX ()
 
Vector2d minusY ()
 
Vector2d plusX ()
 
Vector2d 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::Vector2d
Aliases:  Vector2_double, Vector2_double, Vector2_double, Matrix2_double_VectorType

Constructor & Destructor Documentation

◆ __init__() [1/5]

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

◆ __init__() [2/5]

None meshlib.mrmeshpy.Vector2d.__init__ ( self)

◆ __init__() [3/5]

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

◆ __init__() [4/5]

None meshlib.mrmeshpy.Vector2d.__init__ ( self,
Vector3d v )

◆ __init__() [5/5]

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

Member Function Documentation

◆ __add__()

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

◆ __eq__()

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

◆ __iadd__()

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

◆ __imatmul__()

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

◆ __isub__()

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

◆ __iter__()

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

◆ __itruediv__()

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

◆ __mul__()

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

◆ __ne__()

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

◆ __neg__()

Vector2d meshlib.mrmeshpy.Vector2d.__neg__ ( self)

◆ __pos__()

Vector2d meshlib.mrmeshpy.Vector2d.__pos__ ( self)

◆ __rmul__()

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

◆ __sub__()

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

◆ __truediv__()

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

◆ _Subscript() [1/2]

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

◆ _Subscript() [2/2]

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

◆ diagonal()

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

◆ furthestBasisVector()

Vector2d meshlib.mrmeshpy.Vector2d.furthestBasisVector ( self)

◆ isFinite()

bool meshlib.mrmeshpy.Vector2d.isFinite ( self)

◆ length()

float meshlib.mrmeshpy.Vector2d.length ( self)

◆ lengthSq()

float meshlib.mrmeshpy.Vector2d.lengthSq ( self)

◆ minusX()

Vector2d meshlib.mrmeshpy.Vector2d.minusX ( )
static

◆ minusY()

Vector2d meshlib.mrmeshpy.Vector2d.minusY ( )
static

◆ normalized()

Vector2d meshlib.mrmeshpy.Vector2d.normalized ( self)

◆ perpendicular()

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

◆ plusX()

Vector2d meshlib.mrmeshpy.Vector2d.plusX ( )
static

◆ plusY()

Vector2d meshlib.mrmeshpy.Vector2d.plusY ( )
static

Member Data Documentation

◆ elements

typing meshlib.mrmeshpy.Vector2d.elements = 2
static

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