Click or drag to resize

Vector2Equals Method (Vector2, Vector2, Double)

Check if the components of two vectors are approximate equal.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public static bool Equals(
	Vector2 a,
	Vector2 b,
	double threshold
)

Parameters

a
Type: DXFReaderNETVector2
First vector.
b
Type: DXFReaderNETVector2
Second vector.
threshold
Type: SystemDouble
Maximum tolerance.

Return Value

Type: Boolean
True if the two components are almost equal or false in any other case.
See Also