Nevron .NET Vision
Nevron Namespace / NMath Class / SnapToNearestAngle Method


In This Topic
    SnapToNearestAngle Method
    In This Topic
    Snaps the angle to the nearest angle
    Syntax
    'Declaration
     
    
    Public Shared Function SnapToNearestAngle( _
       ByVal angle As System.Single, _
       ByVal angles() As System.Single _
    ) As System.Single
    'Usage
     
    
    Dim angle As System.Single
    Dim angles() As System.Single
    Dim value As System.Single
     
    value = NMath.SnapToNearestAngle(angle, angles)
    public static System.float SnapToNearestAngle( 
       System.float angle,
       System.float[] angles
    )

    Parameters

    angle
    angles
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also