This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IV > IVector Interface > IVector.DotProduct Method (ArcObjects .NET 10.4 SDK) |
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,
double* result
);
[C++]
Parameters otherVector
otherVector is a parameter of type IVector result [out, retval] result is a parameter of type double
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.