Utility ValuesInProximity Method (Int32, Int32, Int32)Bespoke Osc Library
Determine if two values are near each other.

Namespace: Bespoke.Common
Assembly: Bespoke.Common (in Bespoke.Common.dll) Version: 5.0.0.0 (5.0.0.0)
Syntax

Public Shared Function ValuesInProximity ( _
	value1 As Integer, _
	value2 As Integer, _
	proximityThreshold As Integer _
) As Boolean

Return Value

true if the difference between the values is less than or equal to proximityThreshold; otherwise, false.
See Also