Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NRay Structure / FromTwoPoints Method
point1 - also used as origin
point2 - togehter with point1 defines the ray gradient


In This Topic
    FromTwoPoints Method (NRay)
    In This Topic
    Gets a normalized ray from two points
    Syntax
    'Declaration
     
    
    Public Shared Function FromTwoPoints( _
       ByVal point1 As NPoint, _
       ByVal point2 As NPoint _
    ) As NRay
    'Usage
     
    
    Dim point1 As NPoint
    Dim point2 As NPoint
    Dim value As NRay
     
    value = NRay.FromTwoPoints(point1, point2)
    public static NRay FromTwoPoints( 
       NPoint point1,
       NPoint point2
    )

    Parameters

    point1
    point1 - also used as origin
    point2
    point2 - togehter with point1 defines the ray gradient
    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