FUNCTION c_ll2ls (lat, lng, elev, model, line, sample, view_angles)
double *lat; double *lng; double *elev; struct MODEL *model; float *line; float *sample; double view_angles[];
The latitude of the point within the scene.
The longitude of the point within the scene.
The elevation of the specified point.
Structure containing the model and orbital information.
Computed line within the scene.
Computed sample within the scene.
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 when the input value of view_angles is NULL. All view angles are returned in radians.
Calculate the line, sample, and view angles for the specified latitude and longitude point. These values are calculated by calling c_inverse(). Since c_inverse() returns North-up coordinates, the line/sample coordinates are flipped if the pass is ascending and in satellite view.
c_ll2ls() has no return value.