Nevron Open Vision Documentation
Nevron.Nov Namespace / NMathF Class / InClosedRange Method


In This Topic
    InClosedRange Method (NMathF)
    In This Topic
    Checks whether the value is in the closed range [min; max].
    Syntax
    'Declaration
     
    
    Public Shared Function InClosedRange( _
       ByVal value As System.Single, _
       ByVal min As System.Single, _
       ByVal max As System.Single _
    ) As System.Boolean
    'Usage
     
    
    Dim value As System.Single
    Dim min As System.Single
    Dim max As System.Single
    Dim value As System.Boolean
     
    value = NMathF.InClosedRange(value, min, max)
    public static System.bool InClosedRange( 
       System.float value,
       System.float min,
       System.float max
    )

    Parameters

    value
    min
    max
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also