In This Topic
Maps world coordinates to screen coordinates.
Syntax
'Declaration
Protected Shared Function Project2D( _
ByVal () As Double, _
ByVal () As Integer, _
ByVal As Double, _
ByVal As Double, _
ByVal As Double, _
ByRef As Double, _
ByRef As Double _
) As Boolean
protected static bool Project2D(
double[] ,
int[] ,
double ,
double ,
double ,
out double ,
out double
)
Parameters
- modelViewProj
- The modelview projection matrix
- viewFrame
- The viewport bounds
- objx
- The world X coordinate
- objy
- The world Y coordinate
- objz
- The world Z coordinate
- winx
- The computed window X coordinate
- winy
- The computed window Y coordinate
Return Value
True if the operation succeeded, false otherwise.
See Also