Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / Camera Class / ScreenToPlane Method / ScreenToPlane(Point,Plane,Int32,Int32[],Point3D) Method
Mouse cursor position (zero on top)
The plane
The height of the viewport layout control
The viewport coordinates
The intersection point. null/Nothing if the plane perpendicular to the screen.

In This Topic
    ScreenToPlane(Point,Plane,Int32,Int32[],Point3D) Method
    In This Topic
    Maps screen coordinates to world coordinates.
    Syntax
    'Declaration
     
    Public Overloads Function ScreenToPlane( _
       ByVal mousePos As Point, _
       ByVal plane As Plane, _
       ByVal controlHeight As Integer, _
       ByVal viewFrame() As Integer, _
       ByRef intPoint As Point3D _
    ) As Boolean
    public bool ScreenToPlane( 
       Point mousePos,
       Plane plane,
       int controlHeight,
       int[] viewFrame,
       out Point3D intPoint
    )

    Parameters

    mousePos
    Mouse cursor position (zero on top)
    plane
    The plane
    controlHeight
    The height of the viewport layout control
    viewFrame
    The viewport coordinates
    intPoint
    The intersection point. null/Nothing if the plane perpendicular to the screen.

    Return Value

    True if the mapping succeeded, false otherwise.
    See Also