geoStereographicRaw top-level property

GeoRawTransform geoStereographicRaw
final

The raw stereographic projection.

Implementation

final geoStereographicRaw = GeoRawTransform((p) {
  var x = p[0], y = p[1], cy = cos(y), k = 1 + cos(x) * cy;
  return [cy * sin(x) / k, sin(y) / k];
}, azimuthalBackward((z) => 2 * atan(z)));