This document is archived and information here might be outdated. Recommended version. |
Returns the dot product of this vector and another vector.
[Visual Basic .NET] Public Function DotProduct ( _ ByVal otherVector As IVector _ ) As Double
[C#] public double DotProduct ( IVector otherVector );
[C++]
HRESULT DotProduct(
IVector* otherVector
);
[C++] Parameters otherVector
otherVector is a parameter of type IVector*
Returns a double representing the Dot Product of the base vector and the input vector. The Dot Product is the sum of multiplying corresponding components of each vector.