Nevron .NET Vision
Nevron.GraphicsCore Namespace / NRay2DD Structure / FromTwoPoints Method
point1 - also used as origin
point2 - togehter with point1 defines the ray direction


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

    Parameters

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