Eyeshot 10 WinForms API Reference
WorldToScreen(IList<Point3D>,Int32[]) Method

WinForms Assembly > devDept.Eyeshot Namespace > Camera Class > WorldToScreen Method : WorldToScreen(IList<Point3D>,Int32[]) Method
3D point list
The viewport coordinates
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

Reference

Camera Class
Camera Members
Overload List