def dot(vec1, vec2):
        i = vec1.x * vec2.x
        j = vec1.y * vec2.y
        k = vec1.z * vec2.z
        dot = i + j + k
        return dot
Function performs the dot vector multiplication of 2
dataset/ETHPy150Open enthought/mayavi/tvtk/tools/visual.py/MVector.dot