ComponentOne Bitmap for WPF
WithinEpsilon Method

C1.WPF.DX.4 Assembly > C1.Util.DX Namespace > DXUtil Class : WithinEpsilon Method
The left value to compare.
The right value to compare.
Epsilon value
Checks if a - b are almost equals within a float epsilon.
Syntax
'Declaration
 
Public Shared Function WithinEpsilon( _
   ByVal a As System.Single, _
   ByVal b As System.Single, _
   ByVal epsilon As System.Single _
) As System.Boolean
public static System.bool WithinEpsilon( 
   System.float a,
   System.float b,
   System.float epsilon
)

Parameters

a
The left value to compare.
b
The right value to compare.
epsilon
Epsilon value

Return Value

true if a almost equal to b within a float epsilon, false otherwise
See Also

Reference

DXUtil Class
DXUtil Members