real, intent(in) :: xp,yp,zp type (GPOINT), intent(out) :: point2 type (GPOINT3), intent(out) :: point3
Arguments
xp,yp,zp
2D or 3D position in picture coordinates
point2,point3
Untransformed position in space coordinates
Description
The routines gUntransformPoint2D() and gUntransformPoint3D() transform the specified point into space coordinates according to the current global transformation matrix (modelling and viewing). If transforming is switched off, the returned point is the same as the input point.
The routine gUntransformPoint2D() uses the inverse of the 2-D part of the current global transformation. If the global transformation contains 3-D (in the case of gUntransformPoint2D()) or perspective terms (either routine), warning messages are output and the returned point is set to zero.