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

Public Member Functions

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

Static Public Member Functions

None __init__ (*args, **kwargs)
 
Vector4f 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::Vector4f
Aliases:  Vector4_float, Vector4_float, Matrix4_float_VectorType

four-dimensional vector
\\ingroup VectorGroup

Constructor & Destructor Documentation

◆ __init__() [1/4]

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

◆ __init__() [2/4]

None meshlib.mrmeshpy.Vector4f.__init__ ( self)

◆ __init__() [3/4]

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

◆ __init__() [4/4]

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

Member Function Documentation

◆ __iadd__()

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

◆ __imatmul__()

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

◆ __isub__()

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

◆ __iter__()

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

◆ __itruediv__()

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

◆ __neg__()

Vector4f meshlib.mrmeshpy.Vector4f.__neg__ ( self)

◆ __pos__()

Vector4f meshlib.mrmeshpy.Vector4f.__pos__ ( self)

◆ __rmul__()

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

◆ __truediv__()

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

◆ _Subscript() [1/2]

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

◆ _Subscript() [2/2]

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

◆ diagonal()

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

◆ isFinite()

bool meshlib.mrmeshpy.Vector4f.isFinite ( self)

◆ length()

float meshlib.mrmeshpy.Vector4f.length ( self)

◆ lengthSq()

float meshlib.mrmeshpy.Vector4f.lengthSq ( self)

◆ normalized()

Vector4f meshlib.mrmeshpy.Vector4f.normalized ( self)

◆ proj3d()

Vector3f meshlib.mrmeshpy.Vector4f.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.Vector4f.elements = 4
static

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