(method of vector3d)
pointwise inner product
d = dot(v1,v2) d = dot(v1,v2,'antipodal')
vector3d
consider v1, v2 as axes
double