Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NRange2D Structure / FromTwoPoints Method / FromTwoPoints(NPoint,NPoint) Method


In This Topic
    FromTwoPoints(NPoint,NPoint) Method
    In This Topic
    Creates a normalized 2D range from two points.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function FromTwoPoints( _
       ByVal point1 As NPoint, _
       ByVal point2 As NPoint _
    ) As NRange2D
    'Usage
     
    
    Dim point1 As NPoint
    Dim point2 As NPoint
    Dim value As NRange2D
     
    value = NRange2D.FromTwoPoints(point1, point2)
    public static NRange2D FromTwoPoints( 
       NPoint point1,
       NPoint point2
    )

    Parameters

    point1
    point2
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also