Share via


VGConstants.FuzzEqual Method

Determines whether two floating point values are considered equal in a specified tolerance

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams.GraphObject
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Shared Function FuzzEqual ( _
    first As Double, _
    second As Double, _
    fuzz As Double _
) As Boolean
public static bool FuzzEqual(
    double first,
    double second,
    double fuzz
)
public:
static bool FuzzEqual(
    double first, 
    double second, 
    double fuzz
)
static member FuzzEqual : 
        first:float * 
        second:float * 
        fuzz:float -> bool
public static function FuzzEqual(
    first : double, 
    second : double, 
    fuzz : double
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the first and second values differ by no more than the fuzz value

.NET Framework Security

See Also

Reference

VGConstants Class

Microsoft.VisualStudio.Modeling.Diagrams.GraphObject Namespace