Nevron .NET Vision
Nevron.GraphicsCore Namespace / NCircleSegmentD Structure / TryCreateFromTwoPointsAndBow Method


In This Topic
    TryCreateFromTwoPointsAndBow Method
    In This Topic
    Tries to create a circle segment that starts and ends at the specified points. The bow parameter is the distance from the arc's midpoint to the midpoint of its chord. Returns false if the bow is zero, or the start and end points are coincident.
    Syntax
    'Declaration
     
    
    Public Shared Function TryCreateFromTwoPointsAndBow( _
       ByVal start As NPointD, _
       ByVal end As NPointD, _
       ByVal bow As System.Double, _
       ByRef segment As NCircleSegmentD _
    ) As System.Boolean
    'Usage
     
    
    Dim start As NPointD
    Dim end As NPointD
    Dim bow As System.Double
    Dim segment As NCircleSegmentD
    Dim value As System.Boolean
     
    value = NCircleSegmentD.TryCreateFromTwoPointsAndBow(start, end, bow, segment)
    public static System.bool TryCreateFromTwoPointsAndBow( 
       NPointD start,
       NPointD end,
       System.double bow,
       out NCircleSegmentD segment
    )

    Parameters

    start
    end
    bow
    segment
    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