Click or drag to resize

Vector2Equals Method (Vector2, Double)

imbVeles Framework: imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Check if the components of two vectors are approximate equals.

Namespace:  netDxf
Assembly:  netDXF.Standard (in netDXF.Standard.dll) Version: 2.1.1
Syntax
C#
public bool Equals(
	Vector2 other,
	double threshold
)
Request Example View Source

Parameters

other
Type: netDxfVector2
Another Vector2 to compare to.
threshold
Type: SystemDouble
Maximum tolerance.

Return Value

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