Drawing3d documented Class Library

Utils.Equals(xy, xy) Method

This function checks the equality between two values. This is to avoid errors about computational accuracy with doubles. If their distance is less then epsilon, then equality is done.

[Visual Basic]
Public Overloads Shared Sub Equals( _
   ByVal a As xy, _
   ByVal b As xy _
)
[C#]
public static bool Equals(
   xy a,
   xy b
);

Parameters

a
The first value to check
b
The second value to check

Return Value

Returns true, if the difference of these counts is smaller than epsilon

See Also

Utils Class | Drawing3d.Math Namespace | Utils.Equals Overload List