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


In This Topic
    FromThreePointsAngleAndRatio Method (NEllipseD)
    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 NPointD, _
       ByVal pt2 As NPointD, _
       ByVal pt3 As NPointD, _
       ByVal angle As System.Double, _
       ByVal ratio As System.Double _
    ) As NEllipseD
    'Usage
     
    
    Dim pt1 As NPointD
    Dim pt2 As NPointD
    Dim pt3 As NPointD
    Dim angle As System.Double
    Dim ratio As System.Double
    Dim value As NEllipseD
     
    value = NEllipseD.FromThreePointsAngleAndRatio(pt1, pt2, pt3, angle, ratio)
    public static NEllipseD FromThreePointsAngleAndRatio( 
       NPointD pt1,
       NPointD pt2,
       NPointD pt3,
       System.double angle,
       System.double 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 NEllipseD.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