Nevron .NET Vision
Nevron.GraphicsCore Namespace / NGeometry2D Class / PointsAngleNormalized Method / PointsAngleNormalized(NPointF,NPointF) Method


In This Topic
    PointsAngleNormalized(NPointF,NPointF) Method
    In This Topic
    Obtains the normalized angle, formed by the (pt1, pt2) line and the the X axis (in radians).
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function PointsAngleNormalized( _
       ByVal pt1 As NPointF, _
       ByVal pt2 As NPointF _
    ) As System.Single
    'Usage
     
    
    Dim pt1 As NPointF
    Dim pt2 As NPointF
    Dim value As System.Single
     
    value = NGeometry2D.PointsAngleNormalized(pt1, pt2)
    public static System.float PointsAngleNormalized( 
       NPointF pt1,
       NPointF pt2
    )

    Parameters

    pt1
    pt2

    Return Value

    An angle in the [0, PI * 2) range.
    Remarks
    The returned angle is in the [0, PI * 2) range.
    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