Definition at line 124 of file DataTypes.py.
|
| x = float(x) |
|
| y = float(y) |
|
◆ __init__()
pyhelios.wrappers.DataTypes.vec2.__init__ |
( |
| self, |
|
|
float | x = 0, |
|
|
float | y = 0 ) |
◆ __repr__()
str pyhelios.wrappers.DataTypes.vec2.__repr__ |
( |
| self | ) |
|
◆ __str__()
str pyhelios.wrappers.DataTypes.vec2.__str__ |
( |
| self | ) |
|
◆ _is_finite_numeric()
bool pyhelios.wrappers.DataTypes.vec2._is_finite_numeric |
( |
| value | ) |
|
|
staticprotected |
Check if value is a finite number (not NaN or inf).
Definition at line 159 of file DataTypes.py.
◆ from_list()
pyhelios.wrappers.DataTypes.vec2.from_list |
( |
| self, |
|
|
List[float] | input_list ) |
◆ to_list()
List[float] pyhelios.wrappers.DataTypes.vec2.to_list |
( |
| self | ) |
|
◆ _fields_
list pyhelios.wrappers.DataTypes.vec2._fields_ |
|
staticprotected |
pyhelios.wrappers.DataTypes.vec2.x = float(x) |
pyhelios.wrappers.DataTypes.vec2.y = float(y) |
The documentation for this class was generated from the following file: