VGConstants.FuzzZero Method
Determines whether a floating point value should be considered equal to zero 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 FuzzZero ( _
value As Double, _
fuzz As Double _
) As Boolean
public static bool FuzzZero(
double value,
double fuzz
)
public:
static bool FuzzZero(
double value,
double fuzz
)
static member FuzzZero :
value:float *
fuzz:float -> bool
public static function FuzzZero(
value : double,
fuzz : double
) : boolean
Parameters
value
Type: System.Doublevalue to compare with zero
fuzz
Type: System.Doubletolerance - must be positive
Return Value
Type: System.Boolean
true if the value differs by no more than the fuzz value from zero
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Modeling.Diagrams.GraphObject Namespace