czm_latitudeToWebMercatorFraction

czm_latitudeToWebMercatorFraction

Computes the fraction of a Web Wercator extent at which a given geodetic latitude is located.

Parameters:
Name Type Description
The float geodetic latitude, in radians.
The float low portion of the Web Mercator coordinate of the southern boundary of the extent.
The float high portion of the Web Mercator coordinate of the southern boundary of the extent.
The float total height of the extent in Web Mercator coordinates.
Returns:
float The fraction of the extent at which the latitude occurs. If the latitude is the southern boundary of the extent, the return value will be zero. If it is the northern boundary, the return value will be 1.0. Latitudes in between are mapped according to the Web Mercator projection.
Source: