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


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

    Parameters

    p1
    point1
    p2
    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