Returns the dot product of this vector with another vector.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Overloads Function DotProduct( _
ByVal vector As Vector _
) As Double |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As Vector
Dim vector As Vector
Dim value As Double
value = instance.DotProduct(vector) |
Parameters
- vector
- A Vector object.
Return Value
A
double representing the dot product of this vector with the specified vector.
Exceptions
Requirements
Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7
See Also