An NDoc Documented Class Library

Utils.Equals Method (xy, xy)

This function checks the equality between two value. The reason for that is to aoid errors about calculating exactness with doubles. If their distance is less then epsilon then equality is done

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 numers is smaller than epsilon

See Also

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