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

941ae26b 02b2 8e6c 04fb 78b4a9dfd772

haplokuon edited this page May 6, 2023 · 1 revision

Equals(Vector2, Vector2, Double) Method

netDxf 3.0.0 Library

Check if the components of two vectors are approximate equal.

Definition

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

C#

public static bool Equals(
	Vector2 a,
	Vector2 b,
	double threshold
)

VB

Public Shared Function Equals ( 
	a As Vector2,
	b As Vector2,
	threshold As Double
) As Boolean

C++

public:
static bool Equals(
	Vector2 a, 
	Vector2 b, 
	double threshold
)

F#

static member Equals : 
        a : Vector2 * 
        b : Vector2 * 
        threshold : float -> bool 

Parameters

  Vector2
Vector2.
  Vector2
Vector2.
  Double
Maximum tolerance.

Return Value

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

See Also

Reference

Vector2 Structure
Equals Overload
netDxf Namespace

Clone this wiki locally