Attributes
- x
x = property(_get_x, _set_x)
- y
y = property(_get_y, _set_y)
- z
z = property(_get_z, _set_z)
Method summary
Methods
- __new__(subtype, x = 0.0, y = 0.0, z = 0.0)
- cross(vec1, vec2)
Function performing the cross vector multiplication of 2 vector instances and returning a new vector instance equal to the cross product of given vectors
- dot(vec1, vec2)
Function performs the dot vector multiplication of 2 vector instances and returning a new vector instance equal to the dot product of given vectors
- mag(vec)
Function computes and returns the magnitude of a vector
- norm(vec)
Function computes and returns the normalized form of a given vector