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

Public Member Functions

Vector4d __iadd__ (self, Vector4d b)
 
Vector4d __imatmul__ (self, float b)
 
None __init__ (self)
 
None __init__ (self, float x, float y, float z, float w)
 
None __init__ (self, Vector4d arg0)
 
Vector4d __isub__ (self, Vector4d b)
 
typing.Iterator __iter__ (self)
 
Vector4d __itruediv__ (self, float b)
 
Vector4d __neg__ (self)
 
Vector4d __pos__ (self)
 
bool isFinite (self)
 
float length (self)
 
float lengthSq (self)
 
Vector4d normalized (self)
 
Vector3d proj3d (self)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
Vector4d diagonal (float a)
 

Static Public Attributes

typing elements = 4
 

Protected Member Functions

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

Detailed Description

Generated from:  MR::Vector4d
Aliases:  Matrix4_double_VectorType, Vector4_double, Vector4_double

four-dimensional vector
\\ingroup VectorGroup

Constructor & Destructor Documentation

◆ __init__() [1/4]

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

◆ __init__() [2/4]

None meshlib.mrmeshpy.Vector4d.__init__ ( self)

◆ __init__() [3/4]

None meshlib.mrmeshpy.Vector4d.__init__ ( self,
float x,
float y,
float z,
float w )

◆ __init__() [4/4]

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

Member Function Documentation

◆ __iadd__()

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

◆ __imatmul__()

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

◆ __isub__()

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

◆ __iter__()

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

◆ __itruediv__()

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

◆ __neg__()

Vector4d meshlib.mrmeshpy.Vector4d.__neg__ ( self)

◆ __pos__()

Vector4d meshlib.mrmeshpy.Vector4d.__pos__ ( self)

◆ _Subscript() [1/2]

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

◆ _Subscript() [2/2]

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

◆ diagonal()

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

◆ isFinite()

bool meshlib.mrmeshpy.Vector4d.isFinite ( self)

◆ length()

float meshlib.mrmeshpy.Vector4d.length ( self)

◆ lengthSq()

float meshlib.mrmeshpy.Vector4d.lengthSq ( self)

◆ normalized()

Vector4d meshlib.mrmeshpy.Vector4d.normalized ( self)

◆ proj3d()

Vector3d meshlib.mrmeshpy.Vector4d.proj3d ( self)
assuming this is a point represented in homogeneous 4D coordinates, returns the point as 3D-vector

Member Data Documentation

◆ elements

typing meshlib.mrmeshpy.Vector4d.elements = 4
static

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