FUNCTION c_ls2ll (line, sample, elev, model, lat, lng, view_angles)
float *line; float *sample; double *elev; struct MODEL *model; double *lat; double *lng; double view_angles[];
The line number within the scene.
The sample number within the scene.
The elevation of the specified point.
Structure containing the model and orbital information.
The calculated latitude of the point defined by line and sample.
The calculated longitude of the point defined by line and sample.
The satellite zenith angle is returned in view_angles[0]. The solar zenith angle is returned in view_angles[1]. The relative azimuth angle is returned in view_angles[2]. View angles will not be calculated if the input value of view_angles is NULL. All view angles are returned in radians.
Calculate the latitude, longitude, and view angles for the specified line and sample point. These values are calculated by calling c_forward(). Since c_forward() expects North-up coordinates, the line/sample coordinates are flipped prior to calling c_forward() if the pass is ascending and in satellite view.
c_ls2ll() has no return value.