PyHelios 0.1.11
Loading...
Searching...
No Matches
pyhelios.wrappers.DataTypes.vec4 Class Reference

Detailed Description

Definition at line 261 of file DataTypes.py.

+ Inheritance diagram for pyhelios.wrappers.DataTypes.vec4:
+ Collaboration diagram for pyhelios.wrappers.DataTypes.vec4:

Public Member Functions

str __repr__ (self)
 
str __str__ (self)
 
 __new__ (cls, x=None, y=None, z=None, w=None)
 Create only pass cls to prevent TypeError on Windows.
 
 __init__ (self, float x=0, float y=0, float z=0, float w=0)
 
 from_list (self, List[float] input_list)
 
List[float] to_list (self)
 

Public Attributes

 x = float(x)
 
 y = float(y)
 
 z = float(z)
 
 w = float(w)
 

Static Protected Member Functions

bool _is_finite_numeric (value)
 Check if value is a finite number (not NaN or inf).
 

Static Protected Attributes

list _fields_
 

Constructor & Destructor Documentation

◆ __init__()

pyhelios.wrappers.DataTypes.vec4.__init__ ( self,
float x = 0,
float y = 0,
float z = 0,
float w = 0 )

Definition at line 277 of file DataTypes.py.

Member Function Documentation

◆ __new__()

pyhelios.wrappers.DataTypes.vec4.__new__ ( cls,
x = None,
y = None,
z = None,
w = None )

Create only pass cls to prevent TypeError on Windows.

Definition at line 274 of file DataTypes.py.

◆ __repr__()

str pyhelios.wrappers.DataTypes.vec4.__repr__ ( self)

Definition at line 267 of file DataTypes.py.

◆ __str__()

str pyhelios.wrappers.DataTypes.vec4.__str__ ( self)

Definition at line 270 of file DataTypes.py.

◆ _is_finite_numeric()

bool pyhelios.wrappers.DataTypes.vec4._is_finite_numeric ( value)
staticprotected

Check if value is a finite number (not NaN or inf).

Definition at line 310 of file DataTypes.py.

◆ from_list()

pyhelios.wrappers.DataTypes.vec4.from_list ( self,
List[float] input_list )

Definition at line 297 of file DataTypes.py.

◆ to_list()

List[float] pyhelios.wrappers.DataTypes.vec4.to_list ( self)

Definition at line 303 of file DataTypes.py.

Member Data Documentation

◆ _fields_

list pyhelios.wrappers.DataTypes.vec4._fields_
staticprotected

Definition at line 265 of file DataTypes.py.

◆ w

pyhelios.wrappers.DataTypes.vec4.w = float(w)

Definition at line 295 of file DataTypes.py.

◆ x

pyhelios.wrappers.DataTypes.vec4.x = float(x)

Definition at line 292 of file DataTypes.py.

◆ y

pyhelios.wrappers.DataTypes.vec4.y = float(y)

Definition at line 293 of file DataTypes.py.

◆ z

pyhelios.wrappers.DataTypes.vec4.z = float(z)

Definition at line 294 of file DataTypes.py.


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