Nevron .NET Vision
Nevron.GraphicsCore Namespace / NEllipseSegmentD Structure / TryCreateFromThreePointsAngleAndRatio Method
angle between major ellipse axis and X-axis (in radians)
ratio between the major and minor ellipse axes, must be >= 1
resulting ellipse segment. Valid only if method returns true


In This Topic
    TryCreateFromThreePointsAngleAndRatio Method
    In This Topic
    Tries to create an ellipse segment, which passes throw the specified points and satisfies the angle and ratio parameters.
    Syntax
    'Declaration
     
    
    Public Shared Function TryCreateFromThreePointsAngleAndRatio( _
       ByVal start As NPointD, _
       ByVal control As NPointD, _
       ByVal end As NPointD, _
       ByVal angle As System.Double, _
       ByVal ratio As System.Double, _
       ByRef segment As NEllipseSegmentD _
    ) As System.Boolean
    'Usage
     
    
    Dim start As NPointD
    Dim control As NPointD
    Dim end As NPointD
    Dim angle As System.Double
    Dim ratio As System.Double
    Dim segment As NEllipseSegmentD
    Dim value As System.Boolean
     
    value = NEllipseSegmentD.TryCreateFromThreePointsAngleAndRatio(start, control, end, angle, ratio, segment)
    public static System.bool TryCreateFromThreePointsAngleAndRatio( 
       NPointD start,
       NPointD control,
       NPointD end,
       System.double angle,
       System.double ratio,
       out NEllipseSegmentD segment
    )

    Parameters

    start
    control
    end
    angle
    angle between major ellipse axis and X-axis (in radians)
    ratio
    ratio between the major and minor ellipse axes, must be >= 1
    segment
    resulting ellipse segment. Valid only if method returns true

    Return Value

    true if succeeded, otherwise false
    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