geoStereographicRaw top-level property Azimuthal projections Projections

GeoRawProjection geoStereographicRaw
final

The raw stereographic projection.

{@category Projections} {@category Azimuthal projections}

Implementation

final geoStereographicRaw = GeoRawProjection((x, y, [_]) {
  var cy = cos(y), k = 1 + cos(x) * cy;
  return [cy * sin(x) / k, sin(y) / k];
}, azimuthalInvert((z) => 2 * atan(z)));