#include "las.h"
FUNCTION c_calcor (sl,ss,nl,ns,ddr,upleft,upright,loleft,loright)
double *sl; double *ss; double *nl; double *ns; struct DDR *ddr; double *upleft; double *upright; double *loleft; double *loright;
Starting sample of the output image.
Number of lines of the output image.
Number of samples of the output image.
A DDR structure or FORTRAN integer array dimensioned ddrlen.
The two new upper-left coordinates as calculated from sl and the upleft corners of the DDR.
The two new upper-right coordinates as calculated from ss and the upright corners of the DDR.
The two new lower-left coordinates as calculated from nl and the loleft corners of the DDR.
The two new lower-right coordinates as calculated from ns and the loright corners of the DDR.
The c_calcor() call is used to calculate the four corner coordinates of the image. Each of the new corner coordinates will be calculated using the current coordinates in the DDR and the window specified in sl, ss, nl, and ns. Rotated projection coordinates cannot be input into c_calcor().
c_calcor() has no return values.