Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / ViewportLayout Class / WorldToScreen Method / WorldToScreen(Double,Double,Double) Method
3D point's x-coordinate
3D point's y-coordinate
3D point's z-coordinate

In This Topic
    WorldToScreen(Double,Double,Double) Method
    In This Topic
    Maps world coordinates to screen coordinates.
    Syntax
    'Declaration
     
    Public Overloads Function WorldToScreen( _
       ByVal x As Double, _
       ByVal y As Double, _
       ByVal z As Double _
    ) As Point3D
    public Point3D WorldToScreen( 
       double x,
       double y,
       double z
    )

    Parameters

    x
    3D point's x-coordinate
    y
    3D point's y-coordinate
    z
    3D point's z-coordinate

    Return Value

    The associated projected screen point (zero on bottom).
    Remarks
    The z-component of the returned point is in the normalized device coordinate space [0,1]. A value outside the [0,1] range means that the point is outside the near-far clipping planes of the camera.
    See Also