Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / Camera Class / WorldToScreen Method / WorldToScreen(IList<Point3D>,Int32[]) Method
3D point list
The viewport coordinates

In This Topic
    WorldToScreen(IList<Point3D>,Int32[]) Method
    In This Topic
    Maps world coordinates to screen coordinates.
    Syntax
    'Declaration
     
    Public Overloads Function WorldToScreen( _
       ByVal pointList As IList(Of Point3D), _
       ByVal viewFrame() As Integer _
    ) As Point3D()
    public Point3D[] WorldToScreen( 
       IList<Point3D> pointList,
       int[] viewFrame
    )

    Parameters

    pointList
    3D point list
    viewFrame
    The viewport coordinates

    Return Value

    The associated projected screen point list relative to the screen (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