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

c2ad0a74 6372 59b6 0d15 cba3f1ab0e71

haplokuon edited this page May 6, 2023 · 1 revision

Equals(Vector3, Vector3, 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(
	Vector3 a,
	Vector3 b,
	double threshold
)

VB

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

C++

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

F#

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

Parameters

  Vector3
Vector3.
  Vector3
Vector3.
  Double
Maximum tolerance.

Return Value

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

See Also

Reference

Vector3 Structure
Equals Overload
netDxf Namespace

Clone this wiki locally