Nevron .NET Vision
Nevron.GraphicsCore Namespace / NVector2DF Structure / DotProduct Method


In This Topic
    DotProduct Method (NVector2DF)
    In This Topic
    Computes the dot product of this vector with another vector
    Syntax
    'Declaration
     
    
    Public Function DotProduct( _
       ByVal vector As NVector2DF _
    ) As System.Single
    'Usage
     
    
    Dim instance As NVector2DF
    Dim vector As NVector2DF
    Dim value As System.Single
     
    value = instance.DotProduct(vector)
    public System.float DotProduct( 
       NVector2DF vector
    )

    Parameters

    vector
    Remarks
    Geometrically the dot product is |a| * |b| * cos(angle). Where angle is the angle between the two vectors, |a| is the length of this vector and |b| is the length of the specified vector.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also