Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Geometry Namespace / Vector2D Class / AreParallel Method / AreParallel(Vector2D,Vector2D,Double) Method
First 2D vector (unit length)
Second 2D vector (unit length)
Dot product comparison tolerance

In This Topic
    AreParallel(Vector2D,Vector2D,Double) Method
    In This Topic
    Returns true if the angle between the two 2D vectors is zero or PI or almost zero or almost PI.
    Syntax
    'Declaration
     
    Public Overloads Shared Function AreParallel( _
       ByVal u As Vector2D, _
       ByVal v As Vector2D, _
       ByVal tol As Double _
    ) As Boolean
    public static bool AreParallel( 
       Vector2D u,
       Vector2D v,
       double tol
    )

    Parameters

    u
    First 2D vector (unit length)
    v
    Second 2D vector (unit length)
    tol
    Dot product comparison tolerance
    See Also