Nevron .NET Vision
Nevron.GraphicsCore Namespace / NGeometry2D Class / MiddlePoint Method / MiddlePoint(NPointF,NPointF) Method
point1
point2


In This Topic
    MiddlePoint(NPointF,NPointF) Method
    In This Topic
    Computes the middle point between the specified points.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function MiddlePoint( _
       ByVal pt1 As NPointF, _
       ByVal pt2 As NPointF _
    ) As NPointF
    'Usage
     
    
    Dim pt1 As NPointF
    Dim pt2 As NPointF
    Dim value As NPointF
     
    value = NGeometry2D.MiddlePoint(pt1, pt2)
    public static NPointF MiddlePoint( 
       NPointF pt1,
       NPointF pt2
    )

    Parameters

    pt1
    point1
    pt2
    point2

    Return Value

    middle point
    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