Nevron .NET Vision
Nevron.GraphicsCore Namespace / NEllipseF Structure / FromThreePointsAngleAndRatio Method
angle (in radians)
ration between the major and minor ellipse axes, must be >= 1


In This Topic
    FromThreePointsAngleAndRatio Method (NEllipseF)
    In This Topic
    Creates a normalized ellipse from three points, angle between the ellipse major axis and the X-axis and ratio between the major and minor axes
    Syntax
    'Declaration
     
    
    Public Shared Function FromThreePointsAngleAndRatio( _
       ByVal pt1 As NPointF, _
       ByVal pt2 As NPointF, _
       ByVal pt3 As NPointF, _
       ByVal angle As System.Single, _
       ByVal ratio As System.Single _
    ) As NEllipseF
    'Usage
     
    
    Dim pt1 As NPointF
    Dim pt2 As NPointF
    Dim pt3 As NPointF
    Dim angle As System.Single
    Dim ratio As System.Single
    Dim value As NEllipseF
     
    value = NEllipseF.FromThreePointsAngleAndRatio(pt1, pt2, pt3, angle, ratio)
    public static NEllipseF FromThreePointsAngleAndRatio( 
       NPointF pt1,
       NPointF pt2,
       NPointF pt3,
       System.float angle,
       System.float ratio
    )

    Parameters

    pt1
    pt2
    pt3
    angle
    angle (in radians)
    ratio
    ration between the major and minor ellipse axes, must be >= 1
    Remarks
    If the points are coliner returns the NEllipseF.Empty
    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