Click or drag to resize

Vector2ArePerpendicular Method (Vector2, Vector2, Double)

Checks if two vectors are perpendicular.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public static bool ArePerpendicular(
	Vector2 u,
	Vector2 v,
	double threshold
)

Parameters

u
Type: DXFReaderNETVector2
First vector.
v
Type: DXFReaderNETVector2
Second vector.
threshold
Type: SystemDouble
Tolerance used.

Return Value

Type: Boolean
True if are perpendicular or false in any other case.
See Also