Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NCircle Structure / TryCreateFromThreePoints Method


In This Topic
    TryCreateFromThreePoints Method (NCircle)
    In This Topic
    Tries to create a circle from three points. Returns false if the points are coliner, or any pair of points are coincident.
    Syntax
    'Declaration
     
    
    Public Shared Function TryCreateFromThreePoints( _
       ByVal pt1 As NPoint, _
       ByVal pt2 As NPoint, _
       ByVal pt3 As NPoint, _
       ByRef circle As NCircle _
    ) As System.Boolean
    'Usage
     
    
    Dim pt1 As NPoint
    Dim pt2 As NPoint
    Dim pt3 As NPoint
    Dim circle As NCircle
    Dim value As System.Boolean
     
    value = NCircle.TryCreateFromThreePoints(pt1, pt2, pt3, circle)
    public static System.bool TryCreateFromThreePoints( 
       NPoint pt1,
       NPoint pt2,
       NPoint pt3,
       out NCircle circle
    )

    Parameters

    pt1
    pt2
    pt3
    circle
    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