Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / Viewport Class / UnProject Method / UnProject(Int32,Double,Double,Double,Double,Double,Double) Method
The height of the viewport layout control
The screen X viewport coordinates to be mapped
The screen Y viewport coordinates to be mapped (0 on bottom of viewport)
The screen Z viewport coordinates to be mapped
The computed world X coordinates
The computed world Y coordinates
The computed world Z coordinates

In This Topic
    UnProject(Int32,Double,Double,Double,Double,Double,Double) Method
    In This Topic
    Maps viewport coordinates to world coordinates.
    Syntax
    'Declaration
     
    Public Overloads Function UnProject( _
       ByVal controlHeight As Integer, _
       ByVal winx As Double, _
       ByVal winy As Double, _
       ByVal winz As Double, _
       ByRef objx As Double, _
       ByRef objy As Double, _
       ByRef objz As Double _
    ) As Boolean
    public bool UnProject( 
       int controlHeight,
       double winx,
       double winy,
       double winz,
       out double objx,
       out double objy,
       out double objz
    )

    Parameters

    controlHeight
    The height of the viewport layout control
    winx
    The screen X viewport coordinates to be mapped
    winy
    The screen Y viewport coordinates to be mapped (0 on bottom of viewport)
    winz
    The screen Z viewport coordinates to be mapped
    objx
    The computed world X coordinates
    objy
    The computed world Y coordinates
    objz
    The computed world Z coordinates

    Return Value

    True if the operation succeeded, false otherwise
    See Also