Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / Viewport Class / ScreenToPlane Method / ScreenToPlane(Point,Plane,Point3D) Method
Mouse cursor position (zero on top)
The plane
The intersection point. null/Nothing if the plane perpendicular to the screen.

In This Topic
    ScreenToPlane(Point,Plane,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, _
       ByRef intPoint As Point3D _
    ) As Boolean
    public bool ScreenToPlane( 
       Point mousePos,
       Plane plane,
       out Point3D intPoint
    )

    Parameters

    mousePos
    Mouse cursor position (zero on top)
    plane
    The plane
    intPoint
    The intersection point. null/Nothing if the plane perpendicular to the screen.

    Return Value

    True if the mapping succeeded, false otherwise.
    See Also