Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

04f4e863 60a7 78e2 4d61 37fbea32b163

haplokuon edited this page May 6, 2023 · 1 revision

Equals(Vector2, Double) Method

netDxf 3.0.0 Library

Check if the components of two vectors are approximate equals.

Definition

Namespace: netDxf
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public bool Equals(
	Vector2 other,
	double threshold
)

VB

Public Function Equals ( 
	other As Vector2,
	threshold As Double
) As Boolean

C++

public:
bool Equals(
	Vector2 other, 
	double threshold
)

F#

member Equals : 
        other : Vector2 * 
        threshold : float -> bool 

Parameters

  Vector2
Another Vector2 to compare to.
  Double
Maximum tolerance.

Return Value

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

See Also

Reference

Vector2 Structure
Equals Overload
netDxf Namespace

Clone this wiki locally