This method provides a funcionality for projecting a point that is in OpenGL space [mm] to the Projection Plan [mm] looking through the selected eye

Namespace:  GLSV
Assembly:  GLSV (in GLSV.dll) Version: 1.2009.6.26 (1.2009.06.26)

Syntax

C#
public XY ProjectProjectionPlane(
	XYZ coordModel,
	EActiveEye eye
)
Visual Basic (Declaration)
Public Function ProjectProjectionPlane ( _
	coordModel As XYZ, _
	eye As EActiveEye _
) As XY
Visual C++
public:
XY^ ProjectProjectionPlane(
	XYZ^ coordModel, 
	EActiveEye eye
)

Parameters

coordModel
Type: GLSV..::.XYZ
the point that is into OpenGL space
eye
Type: GLSV..::.EActiveEye
the eye though we want to look the scene

Return Value

the point in window space. The Z coordenate is between -1 and 1 and represents the Z we have to use if we want to unproject a point in window space into OpenGL space

See Also