Nevron .NET Vision
Nevron.GraphicsCore Namespace / NCircleD Structure / TryCreateFromThreePoints Method


In This Topic
    TryCreateFromThreePoints Method (NCircleD)
    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 NPointD, _
       ByVal pt2 As NPointD, _
       ByVal pt3 As NPointD, _
       ByRef circle As NCircleD _
    ) As System.Boolean
    'Usage
     
    
    Dim pt1 As NPointD
    Dim pt2 As NPointD
    Dim pt3 As NPointD
    Dim circle As NCircleD
    Dim value As System.Boolean
     
    value = NCircleD.TryCreateFromThreePoints(pt1, pt2, pt3, circle)
    public static System.bool TryCreateFromThreePoints( 
       NPointD pt1,
       NPointD pt2,
       NPointD pt3,
       out NCircleD circle
    )

    Parameters

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