Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NPoint Structure / DotProduct Method


In This Topic
    DotProduct Method (NPoint)
    In This Topic
    Computes the dot product of this vector with another vector. 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

    |b| - is the length of the specified vector.

    Syntax
    'Declaration
     
    
    Public Function DotProduct( _
       ByVal vector As NPoint _
    ) As System.Double
    'Usage
     
    
    Dim instance As NPoint
    Dim vector As NPoint
    Dim value As System.Double
     
    value = instance.DotProduct(vector)
    public System.double DotProduct( 
       NPoint vector
    )

    Parameters

    vector
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also