Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NEllipse Structure / TryCreateFromCenterAndTwoPoints Method


In This Topic
    TryCreateFromCenterAndTwoPoints Method
    In This Topic
    Tries to create an ellipse from a center and two points that lay on the ellipse
    Syntax
    'Declaration
     
    
    Public Shared Function TryCreateFromCenterAndTwoPoints( _
       ByVal center As NPoint, _
       ByVal pt1 As NPoint, _
       ByVal pt2 As NPoint, _
       ByRef ellipse As NEllipse _
    ) As System.Boolean
    'Usage
     
    
    Dim center As NPoint
    Dim pt1 As NPoint
    Dim pt2 As NPoint
    Dim ellipse As NEllipse
    Dim value As System.Boolean
     
    value = NEllipse.TryCreateFromCenterAndTwoPoints(center, pt1, pt2, ellipse)
    public static System.bool TryCreateFromCenterAndTwoPoints( 
       NPoint center,
       NPoint pt1,
       NPoint pt2,
       out NEllipse ellipse
    )

    Parameters

    center
    pt1
    pt2
    ellipse
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also