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


In This Topic
    FromTwoPoints Method (NRayF)
    In This Topic
    Gets a normalized ray from two points
    Syntax
    'Declaration
     
    
    Public Shared Function FromTwoPoints( _
       ByVal point1 As NPointF, _
       ByVal point2 As NPointF _
    ) As NRayF
    'Usage
     
    
    Dim point1 As NPointF
    Dim point2 As NPointF
    Dim value As NRayF
     
    value = NRayF.FromTwoPoints(point1, point2)
    public static NRayF FromTwoPoints( 
       NPointF point1,
       NPointF 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