Vector2D.AreParallel (Vector2D, Vector2D, Double) Method

Returns true if the angle between the two 2D vectors is zero or PI or almost zero or almost PI.
Public Shared Function AreParallel( _ 
ByVal u As Vector2D, _ 
ByVal v As Vector2D, _ 
ByVal tol As Double
) As Boolean
This language is not supported or no code example is available.
public static bool AreParallel( 
Vector2D u
Vector2D v
double tol 
)
This language is not supported or no code example is available.

Parameters

u
Vector2D

First 2D vector (unit length)

v
Vector2D

Second 2D vector (unit length)

tol
double

Dot product comparison tolerance

Return Value

bool

.NET Framework

Supported in: 4.8

In this article

Definition