This document is archived and information here might be outdated.  Recommended version.


IVector.DotProduct Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IV > IVector Interface > IVector.DotProduct Method
ArcGIS Developer Help

IVector.DotProduct Method

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*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

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.

See Also

IVector Interface