DCL:GRPH1:STPACK: Transformation Functions:Explanation of Subroutines: Coordinate Transformation
Performs a 2-D perspective transformation.
rx, ry = NumRu::DCL.stfpr2(x,y)
x, y = NumRu::DCL.stipr2(rx,ry)
NumRu::DCL.stspr2(ix,iy,sect)
vx,vy (R) The coordinates in VC. rx,ry (R) The coordinates in RC. ix,iy (I) Specifies by number which axes in the 3-D space will correspond to the X- and Y-axes in 2-D. (1: X axis; 2: Y axis; 3: Z axis) When a negative value is specified, the axes are inversed. sect (R) The coordinates for the point of intersection of the axis and the 2-D plane.
- (a)
- The parameters for perspective transformation are common with 3-D perspective transformation.