Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / Camera Class / ScreenToPlane Method / ScreenToPlane(Point,PlaneEquation,Int32,Int32[],Point3D) Method
Mouse cursor position relative to the viewport (zero on top)
The plane equation
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,PlaneEquation,Int32,Int32[],Point3D) Method
    In This Topic
    Maps screen coordinates to world coordinates.
    Syntax
    'Declaration
     
    Public Overloads Function ScreenToPlane( _
       ByVal mousePos As Point, _
       ByVal pe As PlaneEquation, _
       ByVal controlHeight As Integer, _
       ByVal viewFrame() As Integer, _
       ByRef intPoint As Point3D _
    ) As Boolean
    public bool ScreenToPlane( 
       Point mousePos,
       PlaneEquation pe,
       int controlHeight,
       int[] viewFrame,
       out Point3D intPoint
    )

    Parameters

    mousePos
    Mouse cursor position relative to the viewport (zero on top)
    pe
    The plane equation
    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