|
def | __init__ |
|
def | getData (self) |
|
def | setRoundDigits |
|
def | x (self) |
|
def | y (self) |
|
def | z (self) |
|
def | set |
|
def | angleToVector |
|
def | normalized (self) |
|
def | length (self) |
|
def | dot (self, other) |
|
def | cross (self, other) |
|
def | multiply |
|
def | preMultiply |
|
def | scale |
|
def | __eq__ (self, other) |
|
def | equals |
|
def | __add__ (self, other) |
|
def | __iadd__ (self, other) |
|
def | __sub__ (self, other) |
|
def | __isub__ (self, other) |
|
def | __mul__ (self, other) |
|
def | __imul__ (self, other) |
|
def | __rmul__ (self, other) |
|
def | __truediv__ (self, other) |
|
def | __itruediv__ (self, other) |
|
def | __rtruediv__ (self, other) |
|
def | __neg__ (self) |
|
def | __repr__ (self) |
|
def | __str__ (self) |
|
def | __lt__ (self, other) |
|
def | __gt__ (self, other) |
|
def | __le__ (self, other) |
|
def | __ge__ (self, other) |
|
|
| Null = None |
|
| Unit_X = None |
|
| Unit_Y = None |
|
| Unit_Z = None |
|
Simple 3D-vector class based on numpy arrays.
This class represents an immutable 3-dimensional vector.
◆ getData()
def UM.Math.Vector.Vector.getData |
( |
|
self, |
|
|
|
numpy, |
|
|
|
ndarray |
|
) |
| |
Get numpy array with the data
:returns: numpy array of length 3 holding xyz data.
◆ x()
def UM.Math.Vector.Vector.x |
( |
|
self | ) |
|
Return the x component of this vector
◆ y()
def UM.Math.Vector.Vector.y |
( |
|
self | ) |
|
Return the y component of this vector
◆ z()
def UM.Math.Vector.Vector.z |
( |
|
self | ) |
|
Return the z component of this vector
The documentation for this class was generated from the following file: