Utility.AreEqual2D Method

Compares two 2D points in the given domain.
Public Shared Function AreEqual2D( _ 
ByVal p1 As Double(), _ 
ByVal p2 As Double(), _ 
ByVal domainSize As Double
) As Boolean
This language is not supported or no code example is available.
public static bool AreEqual2D( 
double[] p1
double[] p2
double domainSize 
)
This language is not supported or no code example is available.

Parameters

p1
double[]

First point

p2
double[]

Second point

domainSize
double

The 2D diagonal length of your model.

Return Value

bool

True if the two point are coincident, false otherwise.

.NET Framework

Supported in: 4.8

In this article

Definition