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


In This Topic
    MiddlePoint(NPointD,NPointD,Double) 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, _
       ByVal factor As System.Double _
    ) As NPointD
    'Usage
     
    
    Dim p1 As NPointD
    Dim p2 As NPointD
    Dim factor As System.Double
    Dim value As NPointD
     
    value = NGeometry2D.MiddlePoint(p1, p2, factor)
    public static NPointD MiddlePoint( 
       NPointD p1,
       NPointD p2,
       System.double factor
    )

    Parameters

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