dot (<point1>, <point2>)
numeric
The dot product of two 3-D vectors.
<point1>
Vector u.
<point2>
Vector v.
The answer is computed as (u1*v1+u2*v2+u3*v3).
Compute the dot product of 2 direction cosines
point u = (1,0,0),v = (0,1,0) numeric dp = dot(u,v)
In this case, the answer will be 0.