Vector2d.DotProduct Method

Computes the dot product between this vector and another. If the vectors are normalized this is the same as cosine of the smallest angle between vectors.
Public Function DotProduct( _ 
ByVal v As Vector2d
) As Double
This language is not supported or no code example is available.
public double DotProduct( 
Vector2d v 
)
This language is not supported or no code example is available.
public:  
double DotProduct( 
Vector2d^ v 
)
This language is not supported or no code example is available.
public function DotProduct( 
v : Vector2d 
) : double;
This language is not supported or no code example is available.

Parameters

v
Vector2d

The other vector.

Return Value

double

A dot product.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition