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

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

    Parameters

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

    Return Value

    True if the operation succeeded, false otherwise.
    See Also